From e9ce0f60b951ddfe85f6d883a3c3adc78e115e06 Mon Sep 17 00:00:00 2001 From: Almar Date: Wed, 27 Mar 2013 21:12:42 +0100 Subject: [PATCH] Create dummy WindowsError that is an actual Exception instead of None. The previous solution prevented installation on py3.3 and OSX 10.6.1. --- skimage/_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/skimage/_build.py b/skimage/_build.py index 771b04b9..38239e4b 100644 --- a/skimage/_build.py +++ b/skimage/_build.py @@ -8,7 +8,8 @@ import subprocess try: WindowsError except NameError: - WindowsError = None + class WindowsError(Exception): + pass def cython(pyx_files, working_path=''):