Commit e562ca72 authored by Robert Bradshaw's avatar Robert Bradshaw

Handle extensions=None case.

parent 649c4da4
......@@ -12,7 +12,8 @@ else:
class build_ext(_build_ext.build_ext, object):
def finalize_options(self):
from Cython.Build.Dependencies import cythonize
self.distribution.ext_modules[:] = cythonize(
self.distribution.ext_modules)
if self.distribution.ext_modules:
from Cython.Build.Dependencies import cythonize
self.distribution.ext_modules[:] = cythonize(
self.distribution.ext_modules)
super(build_ext, self).finalize_options()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment