From 3804ff75b8184c8d9d7a63fb2e1d416fa708cd019d2495461ba92b7285f9295b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 22 Mar 2024 20:55:29 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-openTSNE?expand=0&rev=11 --- get-numpy-include.patch | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 get-numpy-include.patch diff --git a/get-numpy-include.patch b/get-numpy-include.patch deleted file mode 100644 index 50b6392..0000000 --- a/get-numpy-include.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 07d8ad1f89356dc77a503071a16516873f4d4e30 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Pavlin=20Poli=C4=8Dar?= -Date: Sat, 19 Aug 2023 11:29:35 +0200 -Subject: [PATCH] Fix #248: get_numpy_include class error in new pip - ---- - setup.py | 13 +++---------- - 1 file changed, 3 insertions(+), 10 deletions(-) - -diff --git a/setup.py b/setup.py -index 0f6a3d5..e44111c 100644 ---- a/setup.py -+++ b/setup.py -@@ -55,16 +55,9 @@ def run(self): - writer.write(body, resources, nb_name) - - --class get_numpy_include: -- """Helper class to determine the numpy include path -- -- The purpose of this class is to postpone importing numpy until it is -- actually installed, so that the ``get_include()`` method can be invoked. -- -- """ -- def __str__(self): -- import numpy -- return numpy.get_include() -+def get_numpy_include(): -+ import numpy -+ return numpy.get_include() - - - def get_include_dirs():