-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
68 lines (64 loc) · 2.41 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
59
60
61
62
63
64
65
66
67
68
"""
This installation requires git which pulls large files first before pip installation
https://stackoverflow.com/a/58932741/1910174
"""
from setuptools import setup, find_packages
import sys
if not (sys.version_info.major == 3) & (sys.version_info.minor == 6):
sys.exit("Sorry, this package only works using Python 3.6")
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as fh:
install_requires = fh.read().splitlines()
setup(
name="chronos",
version="1.0.0",
# python_requires='>3.6.1,<3.6.13',
description="toolkit for discovery and characterization of exoplanets",
long_description=long_description,
long_description_content_type="text/markdown",
url="http://github.com/jpdeleon/chronos",
author="Jerome de Leon",
author_email="jpdeleon.bsap@gmail.com",
license="MIT",
packages=find_packages(exclude=["tests"]),
# package_data={'chronos': ['data/*.csv']},
scripts=[
"scripts/find_tois_in_cluster_catalog",
# "calc_fpp",
# "scripts/check_target_in_cluster",
# "scripts/make_tql_per_cluster",
# "scripts/query_cluster_members_gaia_params",
# "scripts/find_cluster_near_target",
# "scripts/make_cdips_ql",
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
install_requires=install_requires,
extras_requires={
"triceratops": [
"git+https://github.com/stevengiacalone/triceratops.git#egg=triceratops"
],
"contaminante": [
"git+https://github.com/christinahedges/contaminante#egg=contaminante"
],
"spisea": ["https://github.com/astropy/SPISEA#egg=PyPopStar"],
"isochrones": [
"git+https://github.com/timothydmorton/isochrones.git#egg=isochrones"
],
"stardate": [
"git+https://github.com/RuthAngus/stardate.git#egg=stardate"
],
"dustmaps": [
"git+https://github.com/gregreen/dustmaps.git#egg=dustmaps"
],
"corner": ["git+https://github.com/dfm/corner.py.git#egg=corner"],
"maelstrom": [
"git+https://github.com/danhey/maelstrom.git#egg=maelstrom"
],
"fleck": ["git+https://github.com/bmorris3/fleck.git#egg=fleck"],
},
)