mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-05 06:14:18 +08:00
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:
+2
-1
@@ -8,7 +8,8 @@ import subprocess
|
||||
try:
|
||||
WindowsError
|
||||
except NameError:
|
||||
WindowsError = None
|
||||
class WindowsError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
def cython(pyx_files, working_path=''):
|
||||
|
||||
Reference in New Issue
Block a user