diff options
author | William Deegan <bill@baddogconsulting.com> | 2015-10-01 21:44:15 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2015-10-01 21:44:15 (GMT) |
commit | 139c0c0bf9e1d5a789a05628dee7efddd5dfbfbe (patch) | |
tree | dcd3a8f8bf53bab6669e6d4e3b4ec2d962441819 | |
parent | 94c7bf6f844758f8f9a3b993bae88e91fc1fe452 (diff) | |
download | SCons-139c0c0bf9e1d5a789a05628dee7efddd5dfbfbe.zip SCons-139c0c0bf9e1d5a789a05628dee7efddd5dfbfbe.tar.gz SCons-139c0c0bf9e1d5a789a05628dee7efddd5dfbfbe.tar.bz2 |
Bug # 2791 - minor change to setup.py makes the package installable with jython. Seems better to check if the current system has the capabilities needed by the logic than to look for posix
-rw-r--r-- | src/setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/setup.py b/src/setup.py index fb16bdd..91b7752 100644 --- a/src/setup.py +++ b/src/setup.py @@ -343,7 +343,7 @@ class install_scripts(_install_scripts): self.copy_scons(src, scons_version_bat) # --- distutils copy/paste --- - if os.name == 'posix': + if hasattr(os, 'chmod') and hasattr(os,'stat'): # Set the executable bits (owner, group, and world) on # all the scripts we just installed. for file in self.get_outputs(): |