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: Remove workaround for missi…
Browse files Browse the repository at this point in the history
…ng ensurepip
  • Loading branch information
Matthias Koeppe committed May 8, 2022
1 parent 823bfd2 commit ffed245
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions build/pkgs/sagemath_objects/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ export PIP_FIND_LINKS="file://$SAGE_SPKG_WHEELS"
# (Important because sagemath-objects uses MANIFEST.in for filtering.)
# Do not install the wheel.
DIST_DIR="$(mktemp -d)"
if ! python3 -m build --outdir "$DIST_DIR"/dist .; then
# This happens on Debian without python3-venv installed - "ensurepip" is missing
echo "Falling back to --no-isolation"
python3 -m build --no-isolation --outdir "$DIST_DIR"/dist . || sdh_die "Failure building sdist and wheel"
fi
python3 -m build --outdir "$DIST_DIR"/dist . || sdh_die "Failure building sdist and wheel"

wheel=$(cd "$DIST_DIR" && sdh_store_wheel . && echo $wheel)
ls -l "$wheel"
Expand Down

0 comments on commit ffed245

Please sign in to comment.