forked from erdc/harmonica
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
85 lines (75 loc) · 2.51 KB
/
setup.py
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#!/usr/bin/env python
import os
# import versioneer
from setuptools import setup
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
# Don't proceed with 'unknown' in version
# version_dict = versioneer.get_versions()
# if version_dict['error']:
# raise RuntimeError(version_dict["error"])
install_requires = [
'argparse',
'dask',
'pytides>=0.0.4', # ERDC fork packaged by Aquaveo
'netCDF4',
'numpy',
'pandas',
'toolz',
'xarray',
'xmsgrid>=4.2.0',
]
extras_require = {
'build': [
'setuptools',
],
'tests': [],
}
extras_require['all'] = sorted(set(sum(extras_require.values(), [])))
entry_points = [
'harmonica = harmonica.cli.main:main',
'harmonica-constituents = harmonica.cli.main_constituents:main',
'harmonica-deconstruct = harmonica.cli.main_deconstruct:main',
'harmonica-reconstruct = harmonica.cli.main_reconstruct:main',
'harmonica-resources = harmonica.cli.main_resources:main',
]
version = '0.1.1'
# version_dict['version'] = version
setup(
name='harmonica',
# version=version_dict['version'],
version=version,
# cmdclass=versioneer.get_cmdclass(),
description="Worldwide amplitude, phase, and speed for standard tidal constituents and tidal time series " \
"reconstruction and deconstruction.",
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
author="Kevin Winters",
author_email='Kevin.D.Winters@erdc.dren.mil',
maintainer="ERS Environmental Simulation",
url='https://github.com/erdc/harmonica',
packages=['harmonica', 'harmonica.cli'],
dependency_links=[
'https://public.aquapi.aquaveo.com/aquaveo/stable'
'https://public.aquapi.aquaveo.com/aquaveo/stable/pytides',
'https://public.aquapi.aquaveo.com/aquaveo/stable/xmsgrid',
],
entry_points={
'console_scripts': entry_points
},
install_requires=install_requires,
extras_require=extras_require,
tests_require=extras_require['tests'],
test_suite='tests',
keywords='harmonica',
classifiers=[
'Development Status :: 3 - Alpha',
'Operating System :: OS Independent',
'Natural Language :: English',
'Topic :: Scientific/Engineering'
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
python_requires="!=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*"
)