Merge pull request #383 from stefanv/windowserror

BUG: WindowsError not defined under Linux.
This commit is contained in:
Tony S Yu
2012-12-03 10:01:08 -08:00
+7
View File
@@ -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.