-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
48 lines (44 loc) · 1.6 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
#!/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/k2mosaic*")
sys.exit()
# Load the __version__ variable without importing the package
exec(open('k2mosaic/version.py').read())
entry_points = {'console_scripts':
['k2mosaic = k2mosaic.ui:k2mosaic']}
setup(name='k2mosaic',
version=__version__,
description="Mosaic Target Pixel Files (TPFs) "
"obtained by NASA's Kepler/K2 missions "
"into CCD-sized images and movies.",
long_description=open('README.rst').read(),
author='Geert Barentsen',
author_email='[email protected]',
license='MIT',
url='https://k2mosaic.geert.io',
packages=['k2mosaic'],
package_data={'k2mosaic': ['data/*.csv']},
install_requires=['astropy>=2.0.8',
'numpy>=1.16',
'pandas',
'click',
'requests',
'imageio>=1',
'fitsio'],
entry_points=entry_points,
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",
],
)