-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
64 lines (57 loc) · 1.98 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
from setuptools import setup, find_packages
import os
moduleDirectory = os.path.dirname(os.path.realpath(__file__))
exec(open(moduleDirectory + "/sherlock/__version__.py").read())
def readme():
with open(moduleDirectory + '/README.md') as f:
return f.read()
install_requires = [
'pyyaml',
'qub-sherlock',
'fundamentals',
'astrocalc',
'neddy',
'HMpTy',
'pymysql',
'psutil',
'sloancone',
'numpy',
'tabulate'
]
# READ THE DOCS SERVERS
exists = os.path.exists("/home/docs/")
if exists:
c_exclude_list = ['healpy', 'astropy',
'numpy', 'sherlock', 'wcsaxes', 'HMpTy', 'ligo-gracedb']
for e in c_exclude_list:
try:
install_requires.remove(e)
except:
pass
setup(name="qub-sherlock",
version=__version__,
description="mine a library of historical and on-going astronomical survey data in an attempt to identify the sources of transient/variable events, and predict their classifications based on crossmatched data",
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, classification, crossmatch, sherlock, transient'],
url='https://github.com/thespacedoctor/sherlock',
download_url='https://github.com/thespacedoctor/sherlock/archive/v%(__version__)s.zip' % locals(
),
author='David Young',
author_email='[email protected]',
license='MIT',
packages=find_packages(exclude=["*tests*"]),
include_package_data=True,
install_requires=install_requires,
test_suite='nose2.collector.collector',
tests_require=['nose2', 'cov-core'],
entry_points={
'console_scripts': ['sherlock=sherlock.cl_utils:main'],
},
zip_safe=False)