summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/setup.py2
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():