check for build_ext object in import check
When setuptools imports from Cython (Python 3.5), setuptools.command.build_ext is defined, but setuptools.command.build_ext has no attribute .build_ext, yet, causing the `_build_ext.build_ext` to fail with an AttributeError. By attempting to import the object, rather than its containing module, the check is more thorough.
Showing
Please register or sign in to comment