From 0ba5b6c12919b176af4bf0298a167ca1ceb52601 Mon Sep 17 00:00:00 2001 From: Bas Hoonhout Date: Wed, 15 Nov 2017 15:53:49 +0100 Subject: [PATCH] Prepare for PyPI --- LICENSE => LICENSE.txt | 0 README.rst | 17 +++++++++++++++++ README.txt | 0 aeolis/console.py | 2 +- setup.cfg | 2 ++ setup.py | 35 +++++++++++++++++++++++++++++------ 6 files changed, 49 insertions(+), 7 deletions(-) rename LICENSE => LICENSE.txt (100%) create mode 100644 README.rst delete mode 100644 README.txt create mode 100644 setup.cfg diff --git a/LICENSE b/LICENSE.txt similarity index 100% rename from LICENSE rename to LICENSE.txt diff --git a/README.rst b/README.rst new file mode 100644 index 00000000..48d03bdc --- /dev/null +++ b/README.rst @@ -0,0 +1,17 @@ +AeoLiS +====== + +AeoLiS is a process-based model for simulating aeolian sediment +transport in situations where supply-limiting factors are important, +like in coastal environments. Supply-limitations currently supported +are soil moisture contents, sediment sorting and armouring, bed slope +effects, air humidity and roughness elements. + +AeoLiS is initially developed by `Bas Hoonhout +`_ at `Delft University of Technology +`_ with support from the ERC-Advanced Grant +291206 Nearshore Monitoring and Modeling (`NEMO +`_) and `Deltares +`_. AeoLiS is currently maintained by `Bas Hoonhout +`_ at Deltares and `Sierd de Vries +`_ at Delft University of Technology. diff --git a/README.txt b/README.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/aeolis/console.py b/aeolis/console.py index 36b9c32d..9cec89a4 100644 --- a/aeolis/console.py +++ b/aeolis/console.py @@ -113,7 +113,7 @@ def print_license(): print('AeoLiS Copyright (C) 2015 Bas Hoonhout') print('This program comes with ABSOLUTELY NO WARRANTY.') print('This is free software, and you are welcome to redistribute it') - print('under certain conditions; See LICENSE for details.') + print('under certain conditions; See LICENSE.txt for details.') print('') diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..3c6e79cf --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 diff --git a/setup.py b/setup.py index 9350149f..10f6e4ad 100644 --- a/setup.py +++ b/setup.py @@ -2,21 +2,44 @@ setup( name='AeoLiS', - version='0.0', + version='1.1.1', author='Bas Hoonhout', author_email='b.m.hoonhout@tudelft.nl', - packages=find_packages(), + url='http://aeolis.readthedocs.io/', + license='GNU GPLv3', description='A process-based model for simulating supply-limited aeolian sediment transport', - long_description=open('README.txt').read(), + long_description=open('README.rst').read(), + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Console', + 'Intended Audience :: Developers', + 'Intended Audience :: Science/Research', + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', + 'Natural Language :: English', + 'Operating System :: MacOS :: MacOS X', + 'Operating System :: Microsoft :: Windows', + 'Operating System :: POSIX', + 'Operating System :: Unix', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.2', + 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Topic :: Scientific/Engineering :: Physics', + ], + keywords=['aeolian sediment transport coastal model deltares tudelft'], + packages=find_packages(exclude=['docs', 'examples', 'tests']), install_requires=[ 'bmi', 'scipy', 'numpy', 'docopt', + 'bmi-python', ], - dependency_links=[ - 'git+https://github.com/openearth/bmi-python.git#egg=bmi', - ], + python_requires='>=2.7, <4', tests_require=[ 'nose' ],