PKG: Do not build Cython files on clean.

This commit is contained in:
Stefan van der Walt
2011-10-05 10:58:09 -07:00
parent d7a33c9b6e
commit de38b5f93c
+4
View File
@@ -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: