summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2013-08-11 09:15:17 +0200
committerStefan Behnel <stefan_ml@behnel.de>2013-08-11 09:15:17 +0200
commit87339039b025d1c3ac0a823e07ecac3a8deb2137 (patch)
treebd4b8ef16a0a7593265c73022029579d1a4393f9 /bin
parentff8734139314ebead1626c6e84e78416b098cdaf (diff)
downloadcython-87339039b025d1c3ac0a823e07ecac3a8deb2137.tar.gz
avoid useless overhead if we don't find anything to do
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cythonize2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cythonize b/bin/cythonize
index 5d8d1d477..9c02b7e85 100755
--- a/bin/cythonize
+++ b/bin/cythonize
@@ -95,7 +95,7 @@ def cython_compile(path_pattern, options):
if base_dir:
os.chdir(cwd)
- if options.build:
+ if ext_modules and options.build:
if len(ext_modules) > 1 and options.parallel:
if pool is None:
try: