diff options
Diffstat (limited to 'setuptools/extension.py')
| -rw-r--r-- | setuptools/extension.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/extension.py b/setuptools/extension.py index 6b9c19f8..da94c3fa 100644 --- a/setuptools/extension.py +++ b/setuptools/extension.py @@ -36,6 +36,10 @@ have_pyrex = _have_cython class Extension(_Extension): """Extension that uses '.c' files in place of '.pyx' files""" + def __init__(self, name, sources, py_limited_api=False, **kw): + self.py_limited_api = py_limited_api + _Extension.__init__(self, name, sources, **kw) + def _convert_pyx_sources_to_lang(self): """ Replace sources with .pyx extensions to sources with the target |
