Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: t-route singularity build #23

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions singularity/templates/t-route/install_t_route.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading