Hide keyboard shortcuts

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 

3 

4moduleDirectory = os.path.dirname(os.path.realpath(__file__)) 

5exec(open(moduleDirectory + "/marshallEngine/__version__.py").read()) 

6 

7 

8def readme(): 

9 with open(moduleDirectory + '/README.md') as f: 

10 return f.read() 

11 

12install_requires = [ 

13 'pyyaml', 

14 'marshallEngine', 

15 'fundamentals', 

16 'astrocalc', 

17 'hmpty', 

18 'astropy', 

19 'matplotlib', 

20 'panstamps', 

21 'transientNamer', 

22 'tornado', 

23 'numpy', 

24 'gitpython', 

25 'atelParser' 

26] 

27 

28# READ THE DOCS SERVERS 

29exists = os.path.exists("/home/docs/") 

30if exists: 

31 c_exclude_list = ['healpy', 'astropy', 

32 'numpy', 'sherlock', 'wcsaxes', 'HMpTy', 'ligo-gracedb'] 

33 for e in c_exclude_list: 

34 try: 

35 install_requires.remove(e) 

36 except: 

37 pass 

38 

39setup(name="marshallEngine", 

40 version=__version__, 

41 description="the engine behind the marshall webapp", 

42 long_description=readme(), 

43 long_description_content_type='text/markdown', 

44 classifiers=[ 

45 'Development Status :: 4 - Beta', 

46 'License :: OSI Approved :: MIT License', 

47 'Programming Language :: Python :: 3.7', 

48 'Topic :: Utilities', 

49 ], 

50 keywords=['astronomy, marshall, webapp'], 

51 url='https://github.com/thespacedoctor/marshallEngine', 

52 download_url='https://github.com/thespacedoctor/marshallEngine/archive/v%(__version__)s.zip' % locals( 

53 ), 

54 author='David Young', 

55 author_email='davidrobertyoung@gmail.com', 

56 license='MIT', 

57 packages=find_packages(), 

58 include_package_data=True, 

59 install_requires=install_requires, 

60 test_suite='nose2.collector.collector', 

61 tests_require=['nose2', 'cov-core'], 

62 entry_points={ 

63 'console_scripts': ['marshall=marshallEngine.cl_utils:main'], 

64 }, 

65 zip_safe=False)