Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Merge #28925
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Feb 14, 2022
2 parents be39670 + f961a7d commit 87277b3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@
Cython.Compiler.Options.embed_pos_in_docstring = True
gdb_debug = os.environ.get('SAGE_DEBUG', None) != 'no'

# Support namespace packages in Cython 0.x
from sage_setup.find import is_package_or_namespace_package_dir
import Cython.Build.Dependencies
import Cython.Build.Cythonize
import Cython.Utils
Cython.Utils.is_package_dir = Cython.Build.Cythonize.is_package_dir = Cython.Build.Dependencies.is_package_dir = is_package_or_namespace_package_dir

try:
from Cython.Build import cythonize
from sage.env import cython_aliases, sage_include_directories
Expand Down

0 comments on commit 87277b3

Please sign in to comment.