simplify configure.py

This commit is contained in:
Florian Dold 2019-11-01 12:19:59 +01:00
parent 09245bcbf9
commit a6bd153339
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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 *