mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-06 05:16:40 +08:00
Merge pull request #383 from stefanv/windowserror
BUG: WindowsError not defined under Linux.
This commit is contained in:
@@ -4,6 +4,13 @@ import hashlib
|
||||
import subprocess
|
||||
|
||||
|
||||
# WindowsError is not defined on unix systems
|
||||
try:
|
||||
WindowsError
|
||||
except NameError:
|
||||
WindowsError = None
|
||||
|
||||
|
||||
def cython(pyx_files, working_path=''):
|
||||
"""Use Cython to convert the given files to C.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user