Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Jul 1, 2021
1 parent 7cbbaca commit f3e4614
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setupext.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,9 @@ def create_build_ext(lib_exts, cythonize_aliases):
class build_ext(_build_ext):
# subclass setuptools extension builder to avoid importing cython and numpy
# at top level in setup.py. See http://stackoverflow.com/a/21621689/1382869
# NOTE: this is likely not necessary anymore since
# pyproject.toml was introduced in the project

def finalize_options(self):
from Cython.Build import cythonize

Expand Down

0 comments on commit f3e4614

Please sign in to comment.