aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsetuptools/namespaces.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/setuptools/namespaces.py b/setuptools/namespaces.py
index a6371c99..93d358a2 100755
--- a/setuptools/namespaces.py
+++ b/setuptools/namespaces.py
@@ -45,8 +45,7 @@ class Installer:
"import sys, types, os",
"pep420 = sys.version_info > (3, 3)",
"p = os.path.join(%(root)s, *%(pth)r)",
- "ie = os.path.exists(os.path.join(p,'__init__.py'))",
- "m = not ie and not pep420 and "
+ "m = not pep420 and "
"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)",