diff options
| -rw-r--r-- | CHANGES.txt | 3 | ||||
| -rwxr-xr-x | setuptools/sandbox.py | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index c82ec5a5..28d2ef63 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -16,6 +16,9 @@ CHANGES expose the desired functionality. For example:: $ python -m setuptools.launch setup.py develop +* Issue #488: Fix dual manifestation of Extension class in + extension packages installed as dependencies when Cython + is present. 19.5 ---- diff --git a/setuptools/sandbox.py b/setuptools/sandbox.py index 668bcac7..23e296b1 100755 --- a/setuptools/sandbox.py +++ b/setuptools/sandbox.py @@ -207,8 +207,12 @@ def _needs_hiding(mod_name): True >>> _needs_hiding('distutils') True + >>> _needs_hiding('os') + False + >>> _needs_hiding('Cython') + True """ - pattern = re.compile('(setuptools|pkg_resources|distutils)(\.|$)') + pattern = re.compile('(setuptools|pkg_resources|distutils|Cython)(\.|$)') return bool(pattern.match(mod_name)) |
