diff options
author | William Deegan <bill@baddogconsulting.com> | 2015-10-01 17:44:15 -0400 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2015-10-01 17:44:15 -0400 |
commit | 3818302d2bd1ec68d28061ba3e8635f9351b6ae2 (patch) | |
tree | dcd3a8f8bf53bab6669e6d4e3b4ec2d962441819 /src/setup.py | |
parent | 8cb90751f78016011b9497308e332ac36205a2f6 (diff) | |
download | scons-3818302d2bd1ec68d28061ba3e8635f9351b6ae2.tar.gz |
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
Diffstat (limited to 'src/setup.py')
-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 fb16bddb..91b7752d 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(): |