Coverage for setup.py : 0%

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 + "/transientNamer/__version__.py").read())
8def readme():
9 with open(moduleDirectory + '/README.md') as f:
10 return f.read()
12install_requires = [
13 'pyyaml',
14 'transientNamer',
15 'fundamentals',
16 'requests',
17 'astrocalc',
18 'unicodecsv',
19 'numpy',
20 'python-dateutil',
21 'bs4',
22 'pandas',
23 'multiprocess'
24]
26# READ THE DOCS SERVERS
27exists = os.path.exists("/home/docs/")
28if exists:
29 c_exclude_list = ['healpy', 'astropy',
30 'numpy', 'sherlock', 'wcsaxes', 'HMpTy', 'ligo-gracedb']
31 for e in c_exclude_list:
32 try:
33 install_requires.remove(e)
34 except:
35 pass
37setup(name="transientNamer",
38 version=__version__,
39 description="Python API for reading and caching TNS reports",
40 long_description=readme(),
41 long_description_content_type='text/markdown',
42 classifiers=[
43 'Development Status :: 4 - Beta',
44 'License :: OSI Approved :: MIT License',
45 'Programming Language :: Python :: 3.7',
46 'Topic :: Utilities',
47 ],
48 keywords=['astronomy, transients'],
49 url='https://github.com/thespacedoctor/transientNamer',
50 download_url='https://github.com/thespacedoctor/transientNamer/archive/v%(__version__)s.zip' % locals(
51 ),
52 author='David Young',
53 author_email='davidrobertyoung@gmail.com',
54 license='MIT',
55 packages=find_packages(),
56 include_package_data=True,
57 install_requires=install_requires,
58 test_suite='nose2.collector.collector',
59 tests_require=['nose2', 'cov-core'],
60 entry_points={
61 'console_scripts': ['transientNamer=transientNamer.cl_utils:main'],
62 },
63 zip_safe=False)