aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/namespaces.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-11-13 09:21:40 -0500
committerJason R. Coombs <jaraco@jaraco.com>2016-11-13 09:21:40 -0500
commit2268fb9887cfea2e28e156bd2c8314132261402f (patch)
treefb68a06897787f7015565e8d0b5bc07c00f268e6 /setuptools/namespaces.py
parent712a6d85e47979ac50a1fb32d2cc76dc61acade8 (diff)
downloadexternal_python_setuptools-2268fb9887cfea2e28e156bd2c8314132261402f.tar.gz
external_python_setuptools-2268fb9887cfea2e28e156bd2c8314132261402f.tar.bz2
external_python_setuptools-2268fb9887cfea2e28e156bd2c8314132261402f.zip
Provisionally revert the -nspkg.pth suppression on PEP 420 Pythons. Ref #250.
Diffstat (limited to 'setuptools/namespaces.py')
-rwxr-xr-xsetuptools/namespaces.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/namespaces.py b/setuptools/namespaces.py
index 93d358a2..9c1f0243 100755
--- a/setuptools/namespaces.py
+++ b/setuptools/namespaces.py
@@ -45,7 +45,7 @@ class Installer:
"import sys, types, os",
"pep420 = sys.version_info > (3, 3)",
"p = os.path.join(%(root)s, *%(pth)r)",
- "m = not pep420 and "
+ "m = "
"sys.modules.setdefault(%(pkg)r, types.ModuleType(%(pkg)r))",
"mp = (m or []) and m.__dict__.setdefault('__path__',[])",
"(p not in mp) and mp.append(p)",