Commit 4e14153d authored by Robert Bradshaw's avatar Robert Bradshaw

Make cache dir if it doesn't yet exist.

parent 1af7e188
......@@ -611,6 +611,9 @@ def cythonize(module_list, exclude=[], nthreads=0, aliases=None, quiet=False, fo
else:
new_sources.append(source)
m.sources = new_sources
if hasattr(options, 'cache'):
if not os.path.exists(options.cache):
os.mkdir(options.cache)
to_compile.sort()
if nthreads:
# Requires multiprocessing (or Python >= 2.6)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment