-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
76 lines (71 loc) · 2.48 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
69
70
71
72
73
74
75
76
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import division, print_function, absolute_import
from setuptools import setup
# Hackishly inject a constant into builtins to enable importing of the
# module in "setup" mode. Stolen from `kplr`
import sys
if sys.version_info[0] < 3:
import __builtin__ as builtins
else:
import builtins
builtins.__EVEREST_SETUP__ = True
import everest
long_description = \
"""
EPIC Variability Extraction and Removal for Exoplanet Science Targets:
A pipeline for de-trending `K2`, `Kepler`, and `TESS` light curves with
pixel level decorrelation and Gaussian processes. The Python interface
allows easy access to the online EVEREST de-trended light curve catalog;
alternatively, users can de-trend their own light curves with customized
settings. Read the documentation at https://github.com/rodluger/everest
"""
# Setup!
setup(name='everest-pipeline',
version=everest.__version__,
description='EPIC Variability Extraction and Removal ' +
'for Exoplanet Science Targets',
long_description=long_description,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Astronomy',
],
url='http://github.com/rodluger/everest',
author='Rodrigo Luger',
license='MIT',
packages=['everest', 'everest.missions', 'everest.missions.k2',
'everest.missions.kepler', 'everest.missions.tess'],
install_requires=[
'numpy>=1.8',
'scipy',
'matplotlib',
'george>=0.2.1',
'six',
'astropy',
'pysyzygy>=0.0.2',
'k2plr>=0.2.9',
'PyPDF2',
# not yet 'choldate'
],
dependency_links=[],
# 'https://github.com/rodluger/k2plr/tarball/dev#egg=k2plr-0.2.7'],
# not yet 'https://github.com/rodluger/
# choldate/tarball/master#egg=choldate-0.0.1',
scripts=['bin/everest', 'bin/everest-stats', 'bin/everest-status'],
include_package_data=True,
zip_safe=False,
test_suite='nose.collector',
tests_require=['nose']
)
# Set up the individual missions
# Fail silently!
try:
from everest import missions
for mission in missions.Missions:
getattr(missions, mission).Setup()
except:
pass