We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f83b6 commit fd9e6cfCopy full SHA for fd9e6cf
src/scikit_build_core/setuptools/build_cmake.py
@@ -182,7 +182,8 @@ def _has_cmake(dist: Distribution) -> bool:
182
def _prepare_extension_detection(dist: Distribution) -> None:
183
# Setuptools needs to know that it has extensions modules
184
185
- dist.has_ext_modules = lambda: type(dist).has_ext_modules(dist) or _has_cmake(dist) # type: ignore[method-assign]
+ orig_has_ext_modules = dist.has_ext_modules
186
+ dist.has_ext_modules = lambda: orig_has_ext_modules() or _has_cmake(dist) # type: ignore[method-assign]
187
188
# Hack for stdlib distutils
189
if not setuptools.distutils.__package__.startswith("setuptools"): # type: ignore[attr-defined]
0 commit comments