diff options
| author | PJ Eby <distutils-sig@python.org> | 2005-07-21 00:49:45 +0000 |
|---|---|---|
| committer | PJ Eby <distutils-sig@python.org> | 2005-07-21 00:49:45 +0000 |
| commit | 2a8ed3cc6b73dfe63fe6d8c2f72229290549887b (patch) | |
| tree | 1852769430e4dec301dfe46977b84fa86cd84663 /setuptools/command/easy_install.py | |
| parent | 89ff5b184629d1bafd55342ad5eeb1dccc4b2956 (diff) | |
| download | python-setuptools-git-2a8ed3cc6b73dfe63fe6d8c2f72229290549887b.tar.gz | |
Fixed installing extra ``.pyc`` or ``.pyo`` files for scripts with ``.py``
extensions.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041139
Diffstat (limited to 'setuptools/command/easy_install.py')
| -rwxr-xr-x | setuptools/command/easy_install.py | 2 |
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 |
