This repository has been archived by the owner on Nov 15, 2019. It is now read-only.
forked from GeoscienceAustralia/wagl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
85 lines (74 loc) · 2.18 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
"""
Setup wagl
"""
from __future__ import absolute_import
import setuptools
import versioneer
from numpy.distutils.core import setup
tests_require = [
'pytest',
]
install_requires = [
'luigi>=2.7.3',
'numpy>=1.8',
'scipy>=0.14',
'numexpr>=2.4.6',
'ephem>=3.7.5.3',
'pyproj>1.9.5',
'scikit-image>=0.8.2',
'GDAL>=1.9.2',
'rasterio>1,!=1.0.3.post1,!=1.0.3', # issue with /vsizip/ reader
'fiona>=1.7.0',
'shapely>=1.5.13',
'h5py>=2.5.0',
'tables>=3.4.2',
'pandas>=0.17.1',
'geopandas>=0.1.1',
'pyyaml>=3.11',
'nested_lookup>=0.1.3',
'python-dateutil>=2.6.1',
'structlog>=16.1.0',
'idl-functions>=0.5.2', # custom package
'attrs>=17.4.0',
]
dependency_links = [
'git+git://github.com/sixy6e/idl-functions.git@master#egg=idl-functions-0.5.2',
]
def configuration(parent_package='', top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration(None, parent_package, top_path)
config.set_options(
ignore_setup_xxx_py=True,
assume_default_configuration=True,
delegate_options_to_subpackages=True,
)
config.add_subpackage('wagl')
return config
setup(
name='wagl',
configuration=configuration,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
url='https://github.com/GeoscienceAustralia/wagl',
license='CC0 1.0 Universal',
author='The wagl authors',
author_email='earth.observation@ga.gov.au',
maintainer='wagl developers',
packages=setuptools.find_packages(exclude=("tests", )),
scripts=['utils/test_satellite_solar_angles',
'utils/test_dsm',
'utils/test_exiting_angles',
'utils/test_incident_angles',
'utils/test_relative_slope',
'utils/test_terrain_shadow_masks',
'utils/test_slope_aspect',
'utils/aot_converter',
'utils/wagl_convert',
'utils/wagl_ls',
'utils/wagl_residuals',
'utils/wagl_pbs'],
setup_requires=['pytest-runner'],
tests_require=tests_require,
install_requires=install_requires,
dependency_links=dependency_links,
)