diff --git a/scikits/image/_build.py b/scikits/image/_build.py index 45100833..277a7eae 100644 --- a/scikits/image/_build.py +++ b/scikits/image/_build.py @@ -29,7 +29,7 @@ def cython(pyx_files, working_path=''): status = os.system(cmd) # if the resulting file is small, cython compilation failed - if status != 0 or os.path.getsize(c_file_new): + if status != 0 or os.path.getsize(c_file_new) < 100: print "Cython compilation of %s failed. Falling back " \ "on pre-generated file." % os.path.basename(pyxfile) continue