So EasyInstall wrapper scripts don't get any executable bits set when  
installed. Was this an intentional omission or just oversight?

Note that you won't see the problem if the script already exists with  
+x when it is installed.

diff -u -r1.22 easy_install.py
--- easy_install.py    15 Jun 2005 02:23:47 -0000    1.22
+++ easy_install.py    23 Jun 2005 17:32:20 -0000
@@ -238,7 +238,8 @@
                  f = open(target,"w")
                  f.write(script_text)
                  f.close()
-
+                from os import chmod
+                chmod(target, 0755)

Ryan Tomayko
                                  [EMAIL PROTECTED]
                                  http://naeblis.cx/rtomayko/


_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to