summaryrefslogtreecommitdiff
path: root/setuptools/command
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command')
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 95fa30a3..37aa496a 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -822,7 +822,7 @@ PYTHONPATH, or by being added to sys.path by your code.)
to_compile = []
def pf(src,dst):
- if dst.endswith('.py'):
+ if dst.endswith('.py') and not src.startswith('EGG-INFO/'):
to_compile.append(dst)
self.unpack_progress(src,dst)
return not self.dry_run and dst or None