-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
63 lines (50 loc) · 1.76 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import os
import os.path
from setuptools import setup, Extension
import versioneer
# Default description in markdown
LONG_DESCRIPTION = open('README.md').read()
PKG_NAME = 'tessdb-stats'
AUTHOR = 'Rafael Gonzalez'
AUTHOR_EMAIL = '[email protected]'
DESCRIPTION = 'tessdb internal statistics database for the tessdb observations database',
LICENSE = 'MIT'
KEYWORDS = 'Astronomy Python RaspberryPi LightPollution'
URL = 'http://github.com/stars4all/tessdb-comdline/'
PACKAGES = ["tess_event"]
DEPENDENCIES = []
CLASSIFIERS = [
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: SQL',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'Development Status :: 4 - Beta',
]
SCRIPTS = [
'files/usr/local/bin/tess_event'
]
if os.name == "posix":
setup(name = PKG_NAME,
version = versioneer.get_version(),
cmdclass = versioneer.get_cmdclass(),
author = AUTHOR,
author_email = AUTHOR_EMAIL,
description = DESCRIPTION,
long_description_content_type = "text/markdown",
long_description = LONG_DESCRIPTION,
license = LICENSE,
keywords = KEYWORDS,
url = URL,
classifiers = CLASSIFIERS,
packages = PACKAGES,
install_requires = DEPENDENCIES,
scripts = SCRIPTS
)
else:
print("Not supported OS")