forked from deapplegate/clmassmod
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
30 lines (27 loc) · 1018 Bytes
/
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
from setuptools import setup, find_packages, Extension
from Cython.Build import cythonize
import numpy
extensions = [
Extension("nfwfitter.nfwmodeltools", ["nfwfitter/nfwmodeltools.pyx"],
include_dirs = [numpy.get_include()]
),
Extension("nfwfitter.stats", ["nfwfitter/stats.pyx"],
include_dirs = [numpy.get_include()]
),
Extension("nfwfitter.voigt_tools",
["nfwfitter/voigt_tools.pyx", "nfwfitter/voigt.c"],
include_dirs = [numpy.get_include()]
),
Extension("nfwfitter.deconvolvedlognormtools", ["nfwfitter/deconvolvedlognormtools.pyx"],
include_dirs = [numpy.get_include()]
),
Extension("nfwfitter.concentrationfittools", ["nfwfitter/concentrationfittools.pyx"],
include_dirs = [numpy.get_include()]
),
]
setup(
name = 'nfwfitter',
version = '0.1',
packages = find_packages(),
ext_modules = cythonize(extensions)
)