diff options
| author | Ofekmeister <ofekmeister@gmail.com> | 2016-08-20 13:29:16 -0400 |
|---|---|---|
| committer | Ofekmeister <ofekmeister@gmail.com> | 2016-08-20 13:29:16 -0400 |
| commit | 9e11ba01ef15138fc928f720967bb4899d8bde38 (patch) | |
| tree | efad3b70a7e4a8bd0d491eb1f94c588db9c5ee16 /setuptools/extension.py | |
| parent | 853a9df48cc056a07e17511a2b65918af9605bbc (diff) | |
| parent | 06df852e7cda567b6f8ab6831486285f0e2989a4 (diff) | |
| download | python-setuptools-git-9e11ba01ef15138fc928f720967bb4899d8bde38.tar.gz | |
Merge remote-tracking branch 'refs/remotes/pypa/master'
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 |
