diff options
Diffstat (limited to 'dev-python/pyopencl/files/pyopencl-2023.1.2_numpy-include-dir.patch')
-rw-r--r-- | dev-python/pyopencl/files/pyopencl-2023.1.2_numpy-include-dir.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/dev-python/pyopencl/files/pyopencl-2023.1.2_numpy-include-dir.patch b/dev-python/pyopencl/files/pyopencl-2023.1.2_numpy-include-dir.patch deleted file mode 100644 index 7a5ce5f52bdc..000000000000 --- a/dev-python/pyopencl/files/pyopencl-2023.1.2_numpy-include-dir.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- a/aksetup_helper.py -+++ b/aksetup_helper.py -@@ -43,11 +43,8 @@ - - - def get_numpy_incpath(): -- from imp import find_module -- # avoid actually importing numpy, it screws up distutils -- file, pathname, descr = find_module("numpy") -- from os.path import join -- return join(pathname, "core", "include") -+ import numpy as np -+ return np.get_include() - - - class NumpyExtension(Extension): |