-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
58 lines (52 loc) · 1.8 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
# -*- coding: utf-8 -*-
from os import path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Pull fulmar version from single source of truth file
try: # Python 2
execfile(path.join("fulmar", 'version.py'))
except: # Python 3
exec(open(path.join("fulmar", 'version.py')).read())
# If Python3: Add "README.md" to setup.
# Useful for PyPI (pip install fulmar-astro). Useless for users using Python2
try:
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
except FileNotFoundError:
long_description = ' '
except NameError:
long_description = ' '
setup(name='fulmar-astro',
version=FULMAR_VERSION,
description='Follow-Up Lightcurves Multitool Assisting Radial velocities',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/astrojose9/fulmar',
author='José Rodrigues',
author_email='jose.rodrigues@astro.up.pt',
license='MIT',
classifiers=['Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python'],
packages=['fulmar'],
include_package_data=True,
package_data={'': ['*.csv', '*.json']},
install_requires=[
'arviz',
'astropy',
"celerite2",
"corner",
'exoplanet',
'lightkurve>=2',
'matplotlib',
'numpy<1.21,>=1.17',
'pymc3',
'pymc3-ext',
'transitleastsquares>=1.0.31'
]
)