From de38b5f93c3568f284875c428adc479946db4850 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Thu, 29 Sep 2011 23:26:07 -0700 Subject: [PATCH] PKG: Do not build Cython files on clean. --- scikits/image/_build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scikits/image/_build.py b/scikits/image/_build.py index 45dd44c5..3be00d65 100644 --- a/scikits/image/_build.py +++ b/scikits/image/_build.py @@ -14,6 +14,10 @@ def cython(pyx_files, working_path=''): The input .pyx files. """ + # Do not build cython files if target is clean + if sys.argv[1] == 'clean': + return + try: import Cython except ImportError: