forked from hpparvi/PyTransit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (45 loc) · 2.22 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
# PyTransit: fast and easy exoplanet transit modelling in Python.
# Copyright (C) 2010-2019 Hannu Parviainen
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
from setuptools import setup, find_packages
version = {}
with open("pytransit/version.py") as fp:
exec(fp.read(), version)
setup(name='PyTransit',
version=str(version['__version__']),
description='Fast and painless exoplanet transit light curve modelling.',
author='Hannu Parviainen',
author_email='[email protected]',
url='https://github.com/hpparvi/PyTransit',
package_dir={'pytransit':'pytransit'},
packages=['pytransit', 'pytransit.models', 'pytransit.models.numba', 'pytransit.models.opencl', 'pytransit.orbits',
'pytransit.utils', 'pytransit.param', 'pytransit.contamination','pytransit.lpf', 'pytransit.lpf.tess',
'pytransit.lpf.baselines','pytransit.lpf.loglikelihood'],
package_data={'':['*.cl'], 'pytransit.contamination':['data/*']},
install_requires=["numpy", "numba", "scipy", "pandas", "xarray", "tables", "semantic_version","deprecated"],
extras_require={'celerite': ["celerite","pybind11"]},
include_package_data=True,
license='GPLv2',
classifiers=[
"Topic :: Scientific/Engineering",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
"Programming Language :: Python",
],
keywords='astronomy astrophysics exoplanets'
)