-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
41 lines (37 loc) · 1.39 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
#!/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("twine upload dist/*")
os.system("rm -rf dist/K2ephem*")
sys.exit()
# Load the __version__ variable without importing the package
exec(open('K2ephem/version.py').read())
# Command-line tools; we're not using "entry_points" for now due to
# a bug in pip which turns all the tools into lowercase
scripts = ['scripts/K2ephem']
setup(name='K2ephem',
version=__version__,
description="Check if a Solar System object is "
"(or was) observable by NASA's K2 mission. "
"This command will query JPL/Horizons "
"to find out.",
author='Geert Barentsen',
author_email='[email protected]',
url='https://github.com/KeplerGO/K2ephem',
packages=['K2ephem'],
install_requires=["pandas>=0.16", "K2fov>=3.0"],
scripts=scripts,
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Astronomy",
],
)