Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1from setuptools import setup, find_packages
2import os
4moduleDirectory = os.path.dirname(os.path.realpath(__file__))
5exec(open(moduleDirectory + "/marshall_webapp/__version__.py").read())
8def readme():
9 with open(moduleDirectory + '/README.md') as f:
10 return f.read()
12install_requires = [
13 'pyyaml',
14 'fundamentals',
15 'pyramid',
16 'pyramid_chameleon',
17 'pyramid_debugtoolbar',
18 'waitress',
19 'paste',
20 'sqlalchemy',
21 'mod_wsgi',
22 'khufu',
23 'dryxPyramid',
24 'pymysql',
25 'astrocalc',
26 'psutil',
27 'unicodecsv',
28 'multiprocess',
29 'nose2',
30 'marshallEngine',
31 'webtest'
32]
34# READ THE DOCS SERVERS
35exists = os.path.exists("/home/docs/")
36if exists:
37 c_exclude_list = ['healpy', 'astropy',
38 'numpy', 'sherlock', 'wcsaxes', 'HMpTy', 'ligo-gracedb', 'mod_wsgi', 'marshallEngine']
39 for e in c_exclude_list:
40 try:
41 install_requires.remove(e)
42 except:
43 pass
45setup(name="marshall_webapp",
46 version=__version__,
47 description="Astronomical-transient marshalling webapp for curating and managing streams of object observations generated by wide-field surveys",
48 long_description=readme(),
49 long_description_content_type='text/markdown',
50 classifiers=[
51 'Development Status :: 4 - Beta',
52 'License :: OSI Approved :: MIT License',
53 'Programming Language :: Python :: 3.7',
54 'Topic :: Utilities',
55 ],
56 keywords=['astronomy, marshall, webapp'],
57 url='https://github.com/thespacedoctor/marshall_webapp',
58 download_url='https://github.com/thespacedoctor/marshall_webapp/archive/v%(__version__)s.zip' % locals(
59 ),
60 author='David Young',
61 author_email='davidrobertyoung@gmail.com',
62 license='MIT',
63 packages=find_packages(),
64 include_package_data=True,
65 install_requires=install_requires,
66 test_suite='nose2.collector.collector',
67 tests_require=['nose2', 'cov-core'],
68 entry_points={
69 'paste.app_factory': ['main=marshall_webapp:main', ],
70 'console_scripts': ['marshall_webapp=marshall_webapp.cl_utils:main'],
71 },
72 zip_safe=False)