We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e0203b commit 424ef40Copy full SHA for 424ef40
setup.py
@@ -4,6 +4,7 @@
4
5
import os
6
import sys
7
+import numpy
8
from distutils.core import setup
9
from setuptools import find_packages
10
from distutils.sysconfig import get_python_lib
@@ -24,8 +25,8 @@
24
25
26
ext = '.pyx' if USE_CYTHON else '.c'
27
-extensions = [Extension("pytda/pytda_cython_tools",
28
- ["pytda/pytda_cython_tools"+ext])]
+extensions = [Extension(PACKAGES[0]+'.pytda_cython_tools',
29
+ [PACKAGES[0]+'/pytda_cython_tools'+ext])]
30
31
if USE_CYTHON:
32
from Cython.Build import cythonize
@@ -49,5 +50,6 @@
49
50
Operating System :: MacOS
51
"""],
52
long_description="""Python Turbulence Detection Algorithm (PyTDA)""",
- ext_modules=extensions
53
+ ext_modules=extensions,
54
+ include_dirs = [numpy.get_include(), '.']
55
)
0 commit comments