about summary refs log tree commit diff stats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 11499b66..e3caec9f 100644
--- a/setup.py
+++ b/setup.py
@@ -296,6 +296,8 @@ def build_all():
         ext_modules_all = []
 
     print("building")
+    if not os.path.exists("build"):
+        os.mkdir("build")
     build_ok = False
     for name, ext_modules in [("all", ext_modules_all)]:
         print("build with", repr(name))