-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
36 lines (31 loc) · 1.13 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
#! /usr/bin/env python
from setuptools import setup
import sys
#if sys.version_info[0] > 2:
# print 'trippy is only compatible with Python version 2.7+, not yet 3.x'
# sys.exit(-1)
print("Trippy unittests haven't been built into setup.py scripts. Please manually run tests/test.py to ensure everything works before production use.")
dependencies = ['numpy >= 1.16.2',
'scipy',
'matplotlib >= 2.2.2',
"astropy >= 3.2.1; python_version > '3.0'",
"astropy == 2.0.9; python_version <'3.0'"]
setup(
name = 'trippy',
packages = ['trippy','trippy.scamp','trippy.MCMCfit'],
version = '1.1.1',
description = 'Pill aperture photometry for trailed astronomical sources',
author = 'Wesley Fraser',
author_email = '[email protected]',
url = 'https://github.com/fraserw/trippy',
download_url = 'https://github.com/fraserw/trippy/tarball/0.1',
keywords = ['Photometry', 'Astronomy', 'PSF'],
license = 'GNU',
install_requires=dependencies,
classifiers = [],
extras_require = {
'MCMCfit': ['emcee']
},
test_suite="trippy.tests",
tests_require=['mock', ],
)