From 0766cbd52fd90396d9f7dd16fa56e92719f51e10 Mon Sep 17 00:00:00 2001 From: Benjamin Wohlwend Date: Thu, 31 Aug 2017 09:49:57 +0200 Subject: [PATCH] use os.makedirs to allow nested output directory --- cibuildwheel/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cibuildwheel/__main__.py b/cibuildwheel/__main__.py index cf15f57c..e813ef24 100644 --- a/cibuildwheel/__main__.py +++ b/cibuildwheel/__main__.py @@ -108,7 +108,7 @@ def main(): print_preamble(platform, build_options) if not os.path.exists(output_dir): - os.mkdir(output_dir) + os.makedirs(output_dir) if platform == 'linux': cibuildwheel.linux.build(**build_options)