diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-08-19 16:00:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-19 16:00:56 -0400 |
commit | 6ae38d0538ceaa9c0360f7f04956acd5e138656d (patch) | |
tree | cf69b08b3d42c91165fddba2cc63d836d7db73d8 /setuptools/extension.py | |
parent | 7c32dac163b1d8f1256caf0a4e42ed19ff74d150 (diff) | |
parent | fc6050ad4c1481be0a1aba1f056e76aa8be50039 (diff) | |
download | external_python_setuptools-6ae38d0538ceaa9c0360f7f04956acd5e138656d.tar.gz external_python_setuptools-6ae38d0538ceaa9c0360f7f04956acd5e138656d.tar.bz2 external_python_setuptools-6ae38d0538ceaa9c0360f7f04956acd5e138656d.zip |
Merge pull request #718 from dholth/master
use abi3 extension if Extension().is_abi3
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 |