-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
43 lines (34 loc) · 1.28 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
#!/usr/bin/env python
from __future__ import absolute_import
from __future__ import print_function
from setuptools import setup
from setuptools import find_packages
import io
from os.path import dirname
from os.path import join
__version__ = None
with open('sar_pre_processing/version.py') as f:
exec(f.read())
def read(*names, **kwargs):
with io.open(
join(dirname(__file__), *names),
encoding=kwargs.get('encoding', 'utf8')
) as fh:
return fh.read()
with open('docs/requirements.txt') as ff:
required = ff.read().splitlines()
setup(name='multiply-sar-pre-processing',
version=__version__,
description='MULTIPLY SAR Pre-Processing',
long_description=read('README.md'),
license='GNU license',
author='MULTIPLY Team',
author_email='weiss.thomas@lmu.de',
url='https://github.com/multiply-org/sar-pre-processing',
packages=['sar_pre_processing', 'sar_pre_processing.default_graphs'],
install_requires=required,
package_data={'sar_pre_processing.default_graphs': ['pre_process_step1.xml', 'pre_process_step1_border.xml',
'pre_process_step2.xml', 'pre_process_step3.xml', 'pre_process_step3_single_file.xml']
},
include_package_data=True,
)