File size: 339 Bytes
9823a7e | 1 2 3 4 5 6 7 8 9 10 11 12 | from .Dependencies import cythonize
__all__ = ["cythonize"]
def __getattr__(name):
if name == 'build_ext':
# Lazy import, fails if distutils is not available (in Python 3.12+).
from .Distutils import build_ext
return build_ext
raise AttributeError("module '%s' has no attribute '%s'" % (__name__, name))
|