aboutsummaryrefslogtreecommitdiff
path: root/configure.py
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-11-01 12:19:59 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-11-01 12:19:59 +0100
commita6bd1533397289c5ad0444e3108890d43db9b36e (patch)
treecc9d45cad0c976c0a7f6c7df9ad0f7c4139e65ba /configure.py
parent09245bcbf926cf4a0e345acc9de3b9e0a28ed216 (diff)
simplify configure.py
Diffstat (limited to 'configure.py')
-rw-r--r--configure.py15
1 files changed, 4 insertions, 11 deletions
diff --git a/configure.py b/configure.py
index 3a5a8de1c..89d143325 100644
--- a/configure.py
+++ b/configure.py
@@ -1,15 +1,8 @@
-#!/usr/bin/env python3
+# This configure.py file is places in the public domain.
-import sys
-from pathlib import Path
-
-base_dir = Path(__file__, "../build-system/taler-build-scripts").resolve()
-if not base_dir.exists():
- print(
- f"build system directory ({base_dir}) missing", file=sys.stderr
- )
- sys.exit(1)
-sys.path.insert(0, str(base_dir))
+# Configure the build directory.
+# This file is invoked by './configure' and should usually not be invoked
+# manually.
from talerbuildconfig import *