-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathsetup.py
69 lines (62 loc) · 1.86 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
# !/usr/bin/env python
import os
import re
from setuptools import setup
def resource(*args):
return os.path.join(os.path.abspath(os.path.join(__file__, os.pardir)),
*args)
with open(resource('dl4ds', '__init__.py')) as version_file:
version_file = version_file.read()
VERSION = re.search(r"""^__version__ = ['"]([^'"]*)['"]""",
version_file, re.M)
VERSION = VERSION.group(1)
with open(resource('README.md')) as readme_file:
README = readme_file.read()
setup(
name='dl4ds',
packages=['dl4ds',
'dl4ds.models',
'dl4ds.training'],
version=VERSION,
description='Deep Learning for empirical DownScaling',
long_description=README,
long_description_content_type='text/markdown',
author='Carlos Alberto Gomez Gonzalez',
license='Apache v2.0',
author_email='carlos.gomez@bsc.es',
url='https://github.com/carlgogo/dl4ds',
keywords=[
'deep learning',
'downscaling',
'super-resolution',
'neural networks',
'Earth data',
'EO'
],
install_requires=[
'numpy',
'scipy',
'matplotlib',
'xarray',
'ecubevis',
'tensorflow',
'sklearn',
'opencv-python',
'joblib',
'seaborn',
'absl-py'
],
extras_require={
'horovod':['horovod']
},
classifiers=[
'Intended Audience :: Science/Research',
'Operating System :: POSIX :: Linux',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering',
],
)