mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-25 13:30:51 +08:00
PKG: Do not build Cython files on clean.
This commit is contained in:
@@ -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