forked from ml4astro/galaxy2galaxy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
71 lines (68 loc) · 2.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
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
"""Install galaxy2galaxy."""
from setuptools import find_packages
from setuptools import setup
from io import open
# read the contents of the README file
with open('README.md', encoding="utf-8") as f:
long_description = f.read()
setup(
name='galaxy2galaxy',
description='Galaxy2Galaxy',
long_description=long_description,
long_description_content_type='text/markdown',
author='ML4Astro Contributors',
url='http://github.com/ml4astro/galaxy2galaxy',
license='MIT',
packages=find_packages(),
package_data={'': ['*.sql', '*.fits'],},
scripts=[
'galaxy2galaxy/bin/g2g-trainer',
'galaxy2galaxy/bin/g2g-datagen',
'galaxy2galaxy/bin/g2g-exporter',
],
install_requires=[
'six',
'scipy',
'numpy',
'astropy',
'tensor2tensor>=1.13.4',
'tensorflow<2.0.0',
'tensorflow-hub',
'tensorflow-datasets',
'tensorflow-probability<0.8',
'tensorflow-gan',
'fits2hdf',
'unagi>=0.1.1'
],
extras_require={
'tensorflow': ['tensorflow>=1.13.1'],
'tensorflow_gpu': ['tensorflow-gpu>=1.13.1'],
'tensorflow-hub': ['tensorflow-hub>=0.1.1'],
'galsim': ['galsim'],
'tests': [
'absl-py',
'pytest>=3.8.0',
'mock',
'pylint',
'jupyter',
'gsutil',
'matplotlib',
# Need atari extras for Travis tests, but because gym is already in
# install_requires, pip skips the atari extras, so we instead do an
# explicit pip install gym[atari] for the tests.
# 'gym[atari]',
],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Astronomy'
],
keywords='astronomy machine learning',
use_scm_version=True,
include_package_data=True,
setup_requires=['setuptools_scm'],
)