forked from treverhines/RBF
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
36 lines (34 loc) · 1.44 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
#!/usr/bin/env python
if __name__ == '__main__':
from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize
import numpy as np
ext = []
ext += [Extension(name='rbf.poly',
sources=['rbf/poly.pyx'],
include_dirs=[np.get_include()])]
ext += [Extension(name='rbf.sputils',
sources=['rbf/sputils.pyx'],
include_dirs=[np.get_include()])]
ext += [Extension(name='rbf.pde.halton',
sources=['rbf/pde/halton.pyx'],
include_dirs=[np.get_include()])]
ext += [Extension(name='rbf.pde.geometry',
sources=['rbf/pde/geometry.pyx'],
include_dirs=[np.get_include()])]
ext += [Extension(name='rbf.pde.sampling',
sources=['rbf/pde/sampling.pyx'],
include_dirs=[np.get_include()])]
ext += [Extension(name='rbf.misc.bspline',
sources=['rbf/misc/bspline.pyx'],
include_dirs=[np.get_include()])]
setup(name='RBF',
version='2019.04.28',
description='Package containing the tools necessary for radial basis function (RBF) applications',
author='Trever Hines',
author_email='[email protected]',
url='www.github.com/treverhines/RBF',
packages=['rbf', 'rbf.misc', 'rbf.pde'],
ext_modules=cythonize(ext),
license='MIT')