-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
48 lines (44 loc) · 1.52 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/k2flix*")
sys.exit()
# Load the __version__ variable without importing the package already
exec(open('k2flix/version.py').read())
# Command-line tools
entry_points = {'console_scripts': [
'k2flix = k2flix.core:k2flix_main'
]}
setup(name='k2flix',
version=__version__,
description="Create beautiful quicklook movies "
"from the pixel data observed "
"by NASA's Kepler spacecraft.",
long_description=open('README.rst').read(),
author='Geert Barentsen',
author_email='[email protected]',
license='MIT',
url='http://barentsen.github.io/k2flix',
packages=['k2flix'],
install_requires=['numpy',
'matplotlib',
'astropy>=1.1',
'imageio>=1',
'tqdm'],
entry_points=entry_points,
keywords="kepler k2 astrophysics",
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",
],
)