forked from openearth/aeolis-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (62 loc) · 2.21 KB
/
setup.py
File metadata and controls
65 lines (62 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import sys
from setuptools import setup, find_packages
# TODO: identify the purpose of this code block
# # update Git hash
# if len(sys.argv) > 1:
# if sys.argv[1] == 'bdist_wheel':
# try:
# import git
# repo = git.Repo(search_parent_directories=True)
# sha = repo.head.object.hexsha
# open('aeolis/GITVERSION', 'w').write(sha)
# except ImportError:
# print('*' * 70)
# print('WARNING: Cannot update Git hash, because package "git" is not')
# print(' installed. Continue packaging...')
# print('*' * 70)
setup(
name='AeoLiS',
version=open('aeolis/VERSION').read().strip(),
author='Sierd de Vries',
author_email='sierd.devries@tudelft.nl',
url='http://aeolis.readthedocs.io/',
license='GNU GPLv3',
description='A process-based model for simulating supply-limited aeolian sediment transport',
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 :: 3.8',
'Programming Language :: Python :: 3.10',
'Topic :: Scientific/Engineering :: Physics',
],
keywords=['aeolian sediment transport coastal model deltares tudelft'],
packages=find_packages(exclude=['docs', 'examples', 'tests', 'notebooks']),
install_requires=[
'docopt==0.6.1',
'bmi-python',
'netCDF4',
'scipy',
'numpy<1.24,>=1.18',
'matplotlib',
'numba'
],
python_requires='>=3.7, <4',
tests_require=[
'pytest'
],
test_suite='nose.collector',
entry_points={'console_scripts': [
'aeolis = aeolis.console:aeolis',
'aeolis-wind = aeolis.console:wind',
]},
include_package_data=True,
)