Show More
@@ -93,13 +93,10 b' def cleanup():' | |||||
93 | # Handle OS specific things |
|
93 | # Handle OS specific things | |
94 | #------------------------------------------------------------------------------- |
|
94 | #------------------------------------------------------------------------------- | |
95 |
|
95 | |||
96 |
if os.name |
|
96 | if os.name in ('nt','dos'): | |
97 | os_name = 'posix' |
|
|||
98 | elif os.name in ['nt','dos']: |
|
|||
99 | os_name = 'windows' |
|
97 | os_name = 'windows' | |
100 | else: |
|
98 | else: | |
101 | print('Unsupported operating system:',os.name) |
|
99 | os_name = os.name | |
102 | sys.exit(1) |
|
|||
103 |
|
100 | |||
104 | # Under Windows, 'sdist' has not been supported. Now that the docs build with |
|
101 | # Under Windows, 'sdist' has not been supported. Now that the docs build with | |
105 | # Sphinx it might work, but let's not turn it on until someone confirms that it |
|
102 | # Sphinx it might work, but let's not turn it on until someone confirms that it |
General Comments 0
You need to be logged in to leave comments.
Login now