-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (38 loc) · 1.23 KB
/
Copy pathsetup.py
File metadata and controls
42 lines (38 loc) · 1.23 KB
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 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('ticgen/version.py').read())
# Command-line tools
entry_points = {'console_scripts': [
'ticgen = ticgen.ticgen:ticgen',
'ticgen-csv = ticgen.ticgen:ticgen_csv',
]}
setup(name='ticgen',
version=__version__,
description="Calculate TESS noise level and TESS magnitude.",
long_description="",
url='https://github.com/tessgi/ticgen',
author='Tom Barclay',
author_email='tom@tombarclay.com',
license='MIT',
packages=['ticgen'],
install_requires=['numpy>=1.8',
],
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",
],
)