taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit d79fd42dac4d10bde4a4746f863be2ea1d09a3d5
parent cb7265d9530a0dbfca6168393338c7ae5c03440b
Author: Florian Dold <florian.dold@gmail.com>
Date:   Fri, 11 Oct 2019 23:42:47 +0530

pyconfigure

Diffstat:
Mbin/taler-deployment | 18+++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/bin/taler-deployment b/bin/taler-deployment @@ -106,6 +106,13 @@ def default_configure(*extra): ["./configure", f"--prefix={pfx.as_posix()}"] + list(extra), check=True ) +def pyconfigure(*extra): + """For python programs, --prefix doesn't work.""" + subprocess.run( + ["./configure", "--destination=local"] + list(extra), check=True + ) + + def build_libmicrohttpd(r: Repo, p: Path): update_checkout(r, p) @@ -181,7 +188,7 @@ def build_bank(r, p): update_checkout(r, p) subprocess.run(["./bootstrap"], check=True) pfx = Path.home() / "local" - default_configure() + pyconfigure() subprocess.run(["make", "install"], check=True) (p / "taler-buildstamp").touch() @@ -199,7 +206,7 @@ def build_donations(r, p): update_checkout(r, p) subprocess.run(["./bootstrap"], check=True) pfx = Path.home() / "local" - default_configure() + pyconfigure() subprocess.run(["make", "install"], check=True) (p / "taler-buildstamp").touch() @@ -208,7 +215,7 @@ def build_blog(r, p): update_checkout(r, p) subprocess.run(["./bootstrap"], check=True) pfx = Path.home() / "local" - default_configure() + pyconfigure() subprocess.run(["make", "install"], check=True) (p / "taler-buildstamp").touch() @@ -217,7 +224,8 @@ def build_survey(r, p): update_checkout(r, p) subprocess.run(["./bootstrap"], check=True) pfx = Path.home() / "local" - default_configure() + default_| + pyconfigure() subprocess.run(["make", "install"], check=True) (p / "taler-buildstamp").touch() @@ -226,7 +234,7 @@ def build_backoffice(r, p): update_checkout(r, p) subprocess.run(["./bootstrap"], check=True) pfx = Path.home() / "local" - default_configure() + pyconfigure() subprocess.run(["make", "install"], check=True) (p / "taler-buildstamp").touch()