We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf5a008 + 2a7c137 commit 8b4535aCopy full SHA for 8b4535a
compyle/ext_module.py
@@ -17,11 +17,7 @@
17
import sys
18
import time
19
20
-# Conditional/Optional imports.
21
-if sys.platform == 'win32':
22
- from setuptools.extension import Extension
23
-else:
24
- from distutils.extension import Extension
+from Cython.Distutils import Extension
25
26
# Package imports.
27
from .config import get_config # noqa: 402
@@ -255,6 +251,7 @@ def build(self, force=False):
255
251
extension = Extension(
256
252
name=self.name, sources=[self.src_path],
257
253
include_dirs=inc_dirs,
254
+ cython_include_dirs=inc_dirs,
258
extra_compile_args=extra_compile_args,
259
extra_link_args=extra_link_args,
260
language="c++"
0 commit comments