-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (41 loc) · 1.31 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
#!/usr/bin/env python
import sys
import os
from setuptools import setup
if "publish" in sys.argv[-1]:
os.system("python setup.py sdist")
os.system("twine upload dist/*")
os.system("rm -rf dist/*")
sys.exit()
# Load the __version__ variable without importing the package
exec(open('coco/version.py').read())
# Command-line tools
entry_points = {'console_scripts': [
'coco = coco.coco:coco',
'coco-sex = coco.coco:coco_sex',
'coco-name = coco.coco:coco_name',
]}
setup(name='astrococo',
version=__version__,
description="astronomical coordinate conversion.",
long_description="",
author='Tom Barclay',
author_email='tom@tombarclay.com',
license='MIT',
url='https://github.com/mrtommyb/coco',
packages=['coco'],
install_requires=['numpy>=1.8',
'astroquery',
'astropy'
],
entry_points=entry_points,
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Astronomy",
],
)