Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/pkgs/sagemath_objects/spkg-install: Handle errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed May 6, 2022
1 parent ddb80dc commit 9c8f668
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build/pkgs/sagemath_objects/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ cd src
# (Important because sagemath-objects uses MANIFEST.in for filtering.)
# Do not install the wheel.
DIST_DIR="$(mktemp -d)"
python3 -m build --outdir "$DIST_DIR"/dist .
python3 -m build --outdir "$DIST_DIR"/dist . || sdh_die "Failure building sdist and wheel"

wheel=$(cd "$DIST_DIR" && sdh_store_wheel . && echo $wheel)

if [ "$SAGE_CHECK" != no ]; then
tox --installpkg $wheel
fi

exit 0

0 comments on commit 9c8f668

Please sign in to comment.