-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
37 lines (33 loc) · 1.12 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
#!/usr/bin/env python
from setuptools import setup
import os
on_rtd = os.environ.get('READTHEDOCS') == 'True'
if on_rtd:
requirements = ['mock']
else:
# requirements = [
# 'gdal',
# 'numpy',
# 'pytest',
# 'shapely',
# 'scipy',
# 'pyyaml']
requirements = []
__version__ = None
with open('multiply_core/version.py') as f:
exec(f.read())
setup(name='multiply-core',
version=__version__,
description='MULTIPLY Core',
author='MULTIPLY Team',
packages=['multiply_core', 'multiply_core.util', 'multiply_core.observations', 'multiply_core.variables'],
entry_points={
'observations_creators': [
's2_observation_creator = multiply_core.observations:s2_observations.S2ObservationsCreator',
],
'variables': ['core_variables = multiply_core.variables:variables.get_default_variables'],
'aux_data_provider_creators': ['default_provider_creator = '
'multiply_core.util:aux_data_provision.DefaultAuxDataProviderCreator']
},
install_requires=requirements
)