-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
42 lines (37 loc) · 1.32 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
#!/usr/bin/env python
import os
import sys
from setuptools import setup
# Prepare and send a new release to PyPI
#if "release" in sys.argv[-1]:
# os.system("python setup.py sdist")
# os.system("python setup.py bdist_wheel")
# os.system("twine upload dist/*")
# os.system("rm -rf dist/lightkurve*")
# sys.exit()
# Load the __version__ variable without importing the package already
exec(open('taufit/version.py').read())
with open('README.md', 'r') as fh:
long_description = fh.read()
with open('requirements.txt') as f:
install_requires = f.read().splitlines()
setup(name='astrodet',
version=__version__,
description="Deep learning for astronomical image processing using detectron2.",
long_description=long_description,
author='Colin Burke',
author_email='colinjb2@illinois.edu',
url='https://github.com/burke86/astrodet',
license='MIT',
package_dir={'astrodet': 'astrodet'},
packages=['astrodet'],
install_requires=install_requires,
include_package_data=True,
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Astronomy",
],
)