It looks like this fix to easy_isntall:
'''
0.6c5
* Fixed .dll files on Cygwin not having executable permisions when an egg is installed unzipped.
'''

introduced a minor bug. From 0.6c5 on, installing an egg unzipped makes all the files executable.

Attaching a patch that only makes .dll's executable.

-Toshio
Index: setuptools-0.6c7/setuptools/command/easy_install.py
===================================================================
--- setuptools-0.6c7.orig/setuptools/command/easy_install.py
+++ setuptools-0.6c7/setuptools/command/easy_install.py
@@ -988,7 +988,9 @@ See the setuptools documentation for the
         def pf(src,dst):
             if dst.endswith('.py') and not src.startswith('EGG-INFO/'):
                 to_compile.append(dst)
-            self.unpack_progress(src,dst); to_chmod.append(dst)
+            if dst.endswith('.dll'):
+                to_chmod.append(dst)
+            self.unpack_progress(src,dst)
             return not self.dry_run and dst or None
 
         unpack_archive(egg_path, destination, pf)
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to