-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·36 lines (31 loc) · 1.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
try:
from setuptools import setup, find_packages, Extension
except ImportError:
from distutils.core import setup, find_packages, Extension
# Copyright (c) 2015-2019 Patricio Cubillos and contributors.
# MC3 is open-source software under the MIT license (see LICENSE).
from numpy import get_include
inc = [get_include()]
eca = ['-ffast-math']
ela = []
ext1 = Extension('arctor.dwt._dwt',
sources=['arctor/dwt/_dwt.c'],
include_dirs=inc,
extra_compile_args=eca,
extra_link_args=ela)
extensions = [ext1]
setup(name='arctor',
version=0.2,
description='Extracting Photometry from Scanning Mode HST Observations '
' and other arc-like observations that require a rectangular aperture',
long_description=open('README.md').read(),
url='https://github.com/exowanderer/arctor',
license='GPL3',
author="Jonathan Fraine (exowanderer) and STARGATE",
packages=find_packages(),
install_requires=['joblib', 'numpy', 'pandas', 'astropy',
'photutils', 'scipy', 'statsmodels', 'tqdm',
'requests'],
extras_require={'plots': ["matplotlib"]},
ext_modules=extensions
)