forked from Alymantara/arx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (24 loc) · 796 Bytes
/
setup.py
File metadata and controls
27 lines (24 loc) · 796 Bytes
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
#cython: boundscheck=False, wraparound=False, nonecheck=False
#from distutils.core import setup
#from distutils.extension import Extension
#from Cython.Distutils import build_ext
#import numpy
#
#ext_modules=[ Extension("disk_spec",
# ["disk_spec.pyx"],
# libraries=["m"],
# extra_compile_args = ["-ffast-math"],
# annotate=True)]
#
from distutils.core import setup
from Cython.Build import cythonize
import numpy
setup(
ext_modules = cythonize("arx.pyx", annotate=True,
compiler_directives={'wraparound': False,
'nonecheck': False,
'cdivision': True,
'boundscheck':False
}),
include_dirs=[numpy.get_include()]
)