diff options
Diffstat (limited to 'easy_install.py')
-rwxr-xr-x | easy_install.py | 8 |
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): |