aboutsummaryrefslogtreecommitdiffstats
path: root/easy_install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-06-25 19:33:06 +0000
committerPJ Eby <distutils-sig@python.org>2005-06-25 19:33:06 +0000
commit5ed7f988bca676d52388b7d0db6e540bfd1476f7 (patch)
tree37245356c1f87d033af6b9a7ff633a14ad50bbf3 /easy_install.py
parent0fd80962ecc527dbb57ec6472559cdb90ecfe582 (diff)
downloadexternal_python_setuptools-5ed7f988bca676d52388b7d0db6e540bfd1476f7.tar.gz
external_python_setuptools-5ed7f988bca676d52388b7d0db6e540bfd1476f7.tar.bz2
external_python_setuptools-5ed7f988bca676d52388b7d0db6e540bfd1476f7.zip
0.5a3 bugfix release
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041072
Diffstat (limited to 'easy_install.py')
-rwxr-xr-xeasy_install.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/easy_install.py b/easy_install.py
index b61b122e..689ee6ba 100755
--- a/easy_install.py
+++ b/easy_install.py
@@ -238,10 +238,10 @@ class easy_install(Command):
f = open(target,"w")
f.write(script_text)
f.close()
-
-
-
-
+ try:
+ os.chmod(target,0755)
+ except (AttributeError, os.error):
+ pass
def install_eggs(self, dist_filename, zip_ok, tmpdir):