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