Skip to content

Commit 655e8ba

Browse files
Remove setting of misspelled preprocessor variable
1 parent 47697e3 commit 655e8ba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ def extensions():
9696
defs = [('_FILE_OFFSET_BITS', '64'),
9797
('_LARGEFILE_SOURCE', '1'),
9898
('_LARGEFILE64_SOURCE', '1'),
99-
("PY_ARRAY_UNIQUE_SYMBOL", "mkl_random_ext"),
100-
("NPY_NO_DEPRICATED_API", None)]
99+
("PY_ARRAY_UNIQUE_SYMBOL", "mkl_random_ext")]
101100

102101
exts = [
103102
Extension(
@@ -110,7 +109,7 @@ def extensions():
110109
depends = [
111110
os.path.join("mkl_random", "src", "mkl_distributions.hpp"),
112111
os.path.join("mkl_random", "src", "randomkit.h"),
113-
os.path.join("mkl_random", "src", "numpy.pxd")
112+
os.path.join("mkl_random", "src", "numpy_multiiter_workaround.h")
114113
],
115114
include_dirs = [os.path.join("mkl_random", "src"), np.get_include()] + mkl_include_dirs,
116115
libraries = libs,

0 commit comments

Comments
 (0)