forked from thespacedoctor/marshall_webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
72 lines (66 loc) · 2.15 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
64
65
66
67
68
69
70
71
72
from setuptools import setup, find_packages
import os
moduleDirectory = os.path.dirname(os.path.realpath(__file__))
exec(open(moduleDirectory + "/marshall_webapp/__version__.py").read())
def readme():
with open(moduleDirectory + '/README.md') as f:
return f.read()
install_requires = [
'pyyaml',
'fundamentals',
'pyramid',
'pyramid_chameleon',
'pyramid_debugtoolbar',
'waitress',
'paste',
'sqlalchemy',
'mod_wsgi',
'khufu',
'dryxPyramid',
'pymysql',
'astrocalc',
'psutil',
'unicodecsv',
'multiprocess',
'nose2',
'marshallEngine',
'webtest'
]
# READ THE DOCS SERVERS
exists = os.path.exists("/home/docs/")
if exists:
c_exclude_list = ['healpy', 'astropy',
'numpy', 'sherlock', 'wcsaxes', 'HMpTy', 'ligo-gracedb', 'mod_wsgi', 'marshallEngine']
for e in c_exclude_list:
try:
install_requires.remove(e)
except:
pass
setup(name="marshall_webapp",
version=__version__,
description="Astronomical-transient marshalling webapp for curating and managing streams of object observations generated by wide-field surveys",
long_description=readme(),
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'Topic :: Utilities',
],
keywords=['astronomy, marshall, webapp'],
url='https://github.com/thespacedoctor/marshall_webapp',
download_url='https://github.com/thespacedoctor/marshall_webapp/archive/v%(__version__)s.zip' % locals(
),
author='David Young',
author_email='davidrobertyoung@gmail.com',
license='MIT',
packages=find_packages(),
include_package_data=True,
install_requires=install_requires,
test_suite='nose2.collector.collector',
tests_require=['nose2', 'cov-core'],
entry_points={
'paste.app_factory': ['main=marshall_webapp:main', ],
'console_scripts': ['marshall_webapp=marshall_webapp.cl_utils:main'],
},
zip_safe=False)