[Python-checkins] python/nondist/sandbox/setuptools/setuptools/command easy_install.py, 1.15, 1.16
pje@users.sourceforge.net
pje at users.sourceforge.net
Thu Jul 21 02:49:48 CEST 2005
Update of /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30770/setuptools/command
Modified Files:
easy_install.py
Log Message:
Fixed installing extra ``.pyc`` or ``.pyo`` files for scripts with ``.py``
extensions.
Index: easy_install.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command/easy_install.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- easy_install.py 18 Jul 2005 02:06:30 -0000 1.15
+++ easy_install.py 21 Jul 2005 00:49:45 -0000 1.16
@@ -822,7 +822,7 @@
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
More information about the Python-checkins
mailing list