Commit 46d308e4 authored by Robert Bradshaw's avatar Robert Bradshaw

Use makedirs rather than mkdir for cache location.

parent b24ea416
......@@ -761,7 +761,7 @@ def cythonize(module_list, exclude=[], nthreads=0, aliases=None, quiet=False, fo
m.sources = new_sources
if hasattr(options, 'cache'):
if not os.path.exists(options.cache):
os.mkdir(options.cache)
os.makedirs(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