File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 11# @configure_input@
22from pathlib import Path
33
4- import numpy
5-
64import sage
75
86VERSION = "@PACKAGE_VERSION@"
@@ -130,9 +128,6 @@ def get_include_dirs() -> list[Path]:
130128 Headers should be included with the prefix "sage/", e.g.,
131129 ``#include <sage/cpython/cython_metaclass.h>``.
132130
133- This includes the path to the Numpy headers as well to make it
134- easier to compile Cython extensions that (indirectly) depend on Numpy.
135-
136131 EXAMPLES::
137132
138133 sage: from sage.config import get_include_dirs
@@ -151,5 +146,4 @@ def get_include_dirs() -> list[Path]:
151146 # We return both the source and build directory,
152147 # because some headers are generated in the build directory.
153148 dirs.extend([root / "src" for root in editable_root])
154- dirs.append(Path(numpy.get_include()))
155149 return [dir for dir in dirs if dir.is_dir()]
You can’t perform that action at this time.
0 commit comments