-
Notifications
You must be signed in to change notification settings - Fork 30
/
setup.py
31 lines (29 loc) · 1.08 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
import re
from setuptools import setup
VERSIONFILE='juliet/_version.py'
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
setup(name='juliet',
version=verstr,
description='juliet: a versatile modelling tool for transiting exoplanets, radial-velocity systems or both',
url='http://github.com/nespinoza/juliet',
author='Nestor Espinoza',
author_email='[email protected]',
license='MIT',
packages=['juliet'],
install_requires=['batman-package','radvel','dynesty>=1.2.2','george','celerite','astropy','numpy','scipy', 'emcee', 'ultranest', 'h5py'],
python_requires='>=2.7',
extras_requires={
'seaborn':['seaborn'],
'pymultinest':['pymultinest'],
'matplotlib':['matplotlib'],},
entry_points={
'console_scripts': [
'juliet=juliet.__main__:main'
]},
zip_safe=False)