forked from opendatacube/datacube-core
/
setup.py
executable file
·98 lines (91 loc) · 3.24 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
86
87
88
89
90
91
92
93
94
95
96
97
98
#!/usr/bin/env python
import versioneer
from setuptools import setup, find_packages
tests_require = ['pytest', 'pytest-cov', 'mock', 'pep8', 'pylint==1.6.4', 'hypothesis', 'compliance-checker']
extras_require = {
'performance': ['ciso8601', 'bottleneck'],
'interactive': ['matplotlib', 'fiona'],
'distributed': ['distributed', 'dask[distributed]'],
'analytics': ['scipy', 'pyparsing', 'numexpr'],
'doc': ['Sphinx', 'setuptools'],
'replicas': ['paramiko', 'sshtunnel', 'tqdm'],
'test': tests_require,
}
# An 'all' option, following ipython naming conventions.
extras_require['all'] = sorted(set(sum(extras_require.values(), [])))
setup(
name='datacube',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
url='https://github.com/opendatacube/datacube-core',
author='AGDC Collaboration',
maintainer='AGDC Collaboration',
maintainer_email='',
description='An analysis environment for satellite and other earth observation data',
long_description=open('README.rst').read(),
license='Apache License 2.0',
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: POSIX :: BSD",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Information Analysis",
],
packages=find_packages(
exclude=('tests', 'tests.*',
'integration_tests', 'integration_tests.*')
),
package_data={
'': ['*.yaml', '*/*.yaml'],
},
scripts=[
],
setup_requires=[
'pytest-runner'
],
install_requires=[
'affine',
'cachetools',
'click>=5.0',
'dask[array]',
'gdal>=1.9',
'jsonschema',
'netcdf4',
'numpy',
'pathlib',
'psycopg2',
'pypeg2',
'python-dateutil',
'pyyaml',
'rasterio>=0.34',
'singledispatch',
'sqlalchemy',
'xarray>=0.9', # >0.9 fixes most problems with `crs` attributes being lost
],
extras_require=extras_require,
tests_require=tests_require,
entry_points={
'console_scripts': [
'datacube-search = datacube.scripts.search_tool:cli',
'datacube = datacube.scripts.cli_app:cli',
'datacube-stacker = datacube_apps.stacker:main',
'datacube-fixer = datacube_apps.stacker:fixer_main',
'datacube-ncml = datacube_apps.ncml:ncml_app',
'pixeldrill = datacube_apps.pixeldrill:main [interactive]',
'movie_generator = datacube_apps.movie_generator:main',
'datacube-simple-replica = datacube_apps.simple_replica:replicate'
]
},
)