summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index e12768590b..542dc496df 100644
--- a/setup.py
+++ b/setup.py
@@ -363,9 +363,8 @@ class PyBuildExt(build_ext):
def get_platform(self):
# Get value of sys.platform
- for platform in ['cygwin', 'darwin', 'osf1']:
- if sys.platform.startswith(platform):
- return platform
+ if sys.platform.startswith('osf1'):
+ return 'osf1'
return sys.platform
def add_multiarch_paths(self):