-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (50 loc) · 1.68 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
from setuptools import setup, find_packages
import os
moduleDirectory = os.path.dirname(os.path.realpath(__file__))
exec(open(moduleDirectory + "/atelParser/__version__.py").read())
def readme():
with open(moduleDirectory + '/README.md') as f:
return f.read()
install_requires = [
'pyyaml',
'atelParser',
'fundamentals',
'astrocalc',
'HMpTy',
'multiprocess',
'requests',
'pymysql',
'pandas',
'numpy'
]
# READ THE DOCS SERVERS
exists = os.path.exists("/home/docs/")
if exists:
install_requires = ['fundamentals']
setup(name="atelParser",
version=__version__,
description="scrape and parse content of ATels posted on The Astronomer's Telegram website, identify individual objects by name and coordinates",
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, parse, atel'],
url='https://github.com/thespacedoctor/atelParser',
download_url='https://github.com/thespacedoctor/atelParser/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': ['atel=atelParser.cl_utils:main'],
},
zip_safe=False)