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 + "/sloancone/__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 'sloancone', 

15 'fundamentals', 

16 'python-dateutil', 

17 'astrocalc', 

18 'requests', 

19 'eventlet', 

20 'unicodecsv', 

21 'numpy' 

22] 

23 

24# READ THE DOCS SERVERS 

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

26if exists: 

27 c_exclude_list = ['healpy', 'astropy', 

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

29 for e in c_exclude_list: 

30 try: 

31 install_requires.remove(e) 

32 except: 

33 pass 

34 

35setup(name="sloancone", 

36 version=__version__, 

37 description="SDSS conesearching tools via the CL or Python API. Return conesearch results, or simply check whether or not a location in the sky has been covered by SDSS.", 

38 long_description=readme(), 

39 long_description_content_type='text/markdown', 

40 classifiers=[ 

41 'Development Status :: 4 - Beta', 

42 'License :: OSI Approved :: MIT License', 

43 'Programming Language :: Python :: 3.7', 

44 'Programming Language :: Python :: 2.7', 

45 'Topic :: Utilities', 

46 ], 

47 keywords=['astronomy, conesearch, sdss'], 

48 url='https://github.com/thespacedoctor/sloancone', 

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

50 ), 

51 author='David Young', 

52 author_email='davidrobertyoung@gmail.com', 

53 license='MIT', 

54 packages=find_packages(), 

55 include_package_data=True, 

56 install_requires=install_requires, 

57 test_suite='nose2.collector.collector', 

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

59 entry_points={ 

60 'console_scripts': ['sloancone=sloancone.cl_utils:main'], 

61 }, 

62 zip_safe=False)