From 7f1fa64c4da8ac68288b1af712052059315b5374 2013-03-30 18:51:32 From: MinRK Date: 2013-03-30 18:51:32 Subject: [PATCH] don't give up on weird os names like java closes #3113 --- diff --git a/setup.py b/setup.py index 5c36e29..938e47a 100755 --- a/setup.py +++ b/setup.py @@ -93,13 +93,10 @@ def cleanup(): # Handle OS specific things #------------------------------------------------------------------------------- -if os.name == 'posix': - os_name = 'posix' -elif os.name in ['nt','dos']: +if os.name in ('nt','dos'): os_name = 'windows' else: - print('Unsupported operating system:',os.name) - sys.exit(1) + os_name = os.name # Under Windows, 'sdist' has not been supported. Now that the docs build with # Sphinx it might work, but let's not turn it on until someone confirms that it