Create dummy WindowsError that is an actual Exception instead of None. The previous solution prevented installation on py3.3 and OSX 10.6.1.

This commit is contained in:
Almar
2013-03-27 21:12:42 +01:00
parent 027e21afef
commit e9ce0f60b9
+2 -1
View File
@@ -8,7 +8,8 @@ import subprocess
try:
WindowsError
except NameError:
WindowsError = None
class WindowsError(Exception):
pass
def cython(pyx_files, working_path=''):