avoid useless overhead if we don't find anything to do
authorStefan Behnel <stefan_ml@behnel.de>
Sun, 11 Aug 2013 07:15:17 +0000 (09:15 +0200)
committerStefan Behnel <stefan_ml@behnel.de>
Sun, 11 Aug 2013 07:15:17 +0000 (09:15 +0200)
bin/cythonize

index 5d8d1d4..9c02b7e 100755 (executable)
@@ -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: