-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
40 lines (34 loc) · 1.17 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
#!/usr/bin/env python
from setuptools import setup
import subprocess
import sys
import os
# check that python version is 3.5 or above
python_version = sys.version_info
if python_version < (3, 5):
sys.exit("Python < 3.5 is not supported, aborting setup")
print("Confirmed Python version {}.{}.{} >= 3.5.0".format(*python_version[:3]))
# get version info from __init__.py
def readfile(filename):
with open(filename) as fp:
filecontents = fp.read()
return filecontents
VERSION = '0.2'
setup(name='QPOEstimation',
description='Estimating QPOs in red noise',
author='Moritz Huebner',
author_email='[email protected]',
license="MIT",
version=VERSION,
packages=['QPOEstimation', 'QPOEstimation.prior', 'QPOEstimation.model'],
package_dir={'QPOEstimation': 'QPOEstimation'},
package_data={'QPOEstimation': ['paper.mplstyle']},
python_requires='>=3.5',
install_requires=[
'bilby',
'stingray'],
entry_points={},
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Operating System :: OS Independent"])