From 6d7ad57bef4bf71cccd404708bc32e8799ba1716 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Sun, 22 Dec 2024 11:34:15 -0600 Subject: [PATCH] Fix the load script to reinstall polaris when needed It was looking for `setup.py` but this has been replaced by `pyproject.toml` in the root of the repo. --- deploy/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/bootstrap.py b/deploy/bootstrap.py index 6781d108b..31566034c 100755 --- a/deploy/bootstrap.py +++ b/deploy/bootstrap.py @@ -1058,7 +1058,7 @@ def _write_load_polaris(options, prefix, spack_script, env_vars): if env_type == 'dev': update_polaris = \ """ - if [[ -z "${NO_POLARIS_REINSTALL}" && -f "./setup.py" && \\ + if [[ -z "${NO_POLARIS_REINSTALL}" && -f "./pyproject.toml" && \\ -d "polaris" ]]; then # safe to assume we're in the polaris repo # update the polaris installation to point here