From 87339039b025d1c3ac0a823e07ecac3a8deb2137 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 11 Aug 2013 09:15:17 +0200 Subject: [PATCH] avoid useless overhead if we don't find anything to do --- bin/cythonize | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cythonize b/bin/cythonize index 5d8d1d4..9c02b7e 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: -- 2.7.4