We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7a53e3 commit ffe4a02Copy full SHA for ffe4a02
setup.py
@@ -4,7 +4,8 @@
4
5
from setuptools import setup, Extension
6
7
-class get_numpy_include(object):
+
8
+class GetNumpyInclude(object):
9
"""A lazy include path for numpy.
10
This way numpy isn't imported until it's actually installed,
11
so the `install_requires` argument can handle it properly.
@@ -16,11 +17,11 @@ def __str__(self):
16
17
18
if __name__ == "__main__":
19
setup(
- include_dirs=[get_numpy_include()],
20
ext_modules=[
21
Extension(
22
"anomaly_detector.univariate._anomaly_kernel_cython",
23
["src/anomaly_detector/univariate/_anomaly_kernel_cython.c"],
24
+ include_dirs=[GetNumpyInclude()]
25
)
26
]
27
0 commit comments