From ca107689aa0b231c91c1089d0775a3e0b717b1b0 Mon Sep 17 00:00:00 2001 From: Austin Raney Date: Mon, 12 Aug 2024 12:50:37 -0400 Subject: [PATCH] fix: t-route singularity build --- singularity/templates/t-route/install_t_route.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/singularity/templates/t-route/install_t_route.sh b/singularity/templates/t-route/install_t_route.sh index 5904f79..4b9947d 100755 --- a/singularity/templates/t-route/install_t_route.sh +++ b/singularity/templates/t-route/install_t_route.sh @@ -21,20 +21,22 @@ git clone --progress --single-branch --branch master https://github.com/NOAA-OWP cd t-route git submodule update --init +python -m pip install -r requirements.txt +python -m pip install build ./compiler.sh no-e cd /t-route/src/troute-network -python setup.py --use-cython bdist_wheel +python -m build --no-isolation --wheel . cd /t-route/src/troute-routing -python setup.py --use-cython bdist_wheel +python -m build --no-isolation --wheel . # troute-config doesn't use setup.py, use build to make the wheel cd /t-route/src/troute-config -python -m build . \ +python -m build --wheel . cd /t-route/src/troute-nwm -python setup.py bdist_wheel +python -m build --wheel . cd /t-route cp /t-route/src/troute-network/dist/*.whl /t-route/wheels