about summary refs log tree commit diff stats
path: root/setup.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2022-11-05 10:41:23 +0100
committerGitHub <noreply@github.com>2022-11-05 10:41:23 +0100
commit376e5a768021ad6d809ac0be9391d9164bad84a3 (patch)
tree73f92022dba76747b62b4b0407f33a02688d60fe /setup.py
parent2b6c894aee49218bf8809531263a50b71a145405 (diff)
parentd45e5369841487422b2330646aa3fcf9e96c8d8a (diff)
downloadmiasm-376e5a768021ad6d809ac0be9391d9164bad84a3.tar.gz
miasm-376e5a768021ad6d809ac0be9391d9164bad84a3.zip
Merge pull request #1436 from mrexodia/pip-build
Create the build directory to fix `pip install` build
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))