summaryrefslogtreecommitdiff
path: root/build-system/configure.py
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-02-23 23:24:06 +0100
committerFlorian Dold <florian@dold.me>2023-02-23 23:24:20 +0100
commit245e2ae15c1f770bf6e8953fe951795a9d2461ea (patch)
treece21a2821ba22b64216d3cfc3a261f1bfb79db05 /build-system/configure.py
parent8a66f6c11d5cb2c23be3fe263a5e9b85f5df8da0 (diff)
downloadtaler-merchant-demos-245e2ae15c1f770bf6e8953fe951795a9d2461ea.tar.gz
taler-merchant-demos-245e2ae15c1f770bf6e8953fe951795a9d2461ea.tar.bz2
taler-merchant-demos-245e2ae15c1f770bf6e8953fe951795a9d2461ea.zip
use venv for installationv0.9.2
Diffstat (limited to 'build-system/configure.py')
-rw-r--r--build-system/configure.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/build-system/configure.py b/build-system/configure.py
new file mode 100644
index 0000000..f8e01aa
--- /dev/null
+++ b/build-system/configure.py
@@ -0,0 +1,21 @@
+# This configure.py file is places in the public domain.
+
+# Configure the build directory.
+# This file is invoked by './configure' and should usually not be invoked
+# manually.
+
+import talerbuildconfig as tbc
+import sys
+import shutil
+
+if getattr(tbc, "serialversion", 0) < 2:
+ print("talerbuildconfig outdated, please update the build-common submodule and/or bootstrap")
+ sys.exit(1)
+
+b = tbc.BuildConfig()
+b.enable_prefix()
+b.enable_configmk(dotfile=True)
+b.add_tool(tbc.PosixTool("make"))
+b.add_tool(tbc.PosixTool("zip"))
+b.add_tool(tbc.PosixTool("find"))
+b.run()