mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-30 13:40:44 +08:00
PKG: Do not build Cython files on clean.
This commit is contained in:
1 parent
d7a33c9b6e
commit
de38b5f93c
1 file changed
+4
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user