-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
52 lines (49 loc) · 1.4 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
#!/usr/bin/env python
import sys
# Test Python's version
major, minor = sys.version_info[0:2]
if (major, minor) < (3, 5):
sys.stderr.write('\nPython 3.5 or later is needed to use this package\n')
sys.exit(1)
from setuptools import find_packages, setup
from distutils.command.sdist import sdist
cmdclass={'sdist': sdist}
__version__ = '1.2.1'
setup(name='gspy',
packages=find_packages(),
scripts=[],
version=__version__,
description='Data handling',
long_description='gspy converts commonly used data formats into a netcdf file honoring our GS convention.',
url = 'https://github.com/usgs.gov',
download_url=f"https://github.com/usgs/gspy/releases/v{__version__}.tar.gz",
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved',
'License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
],
author='Leon Foks, Stephanie James, Burke Minsley',
author_email='[email protected]',
install_requires=[
'chardet',
'numpy',
'xarray',
'scipy',
'h5py',
'netcdf4',
'matplotlib',
'fortranformat',
'rioxarray',
'pyproj',
'pyyaml'
],
extras_require={
'dev': [
'sphinx',
'twine',
'build'
]
}
)