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

Commit ea8a50e

Browse files
author
Matthias Koeppe
committed
Revert "build/bin/sage-dist-helpers (sdh_pip_editable_install), build/pkgs/sagelib/spkg-install: Do not use PEP 660 editable wheels"
This reverts commit a292013.
1 parent a292013 commit ea8a50e

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

build/bin/sage-dist-helpers

-2
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,6 @@ sdh_pip_install() {
290290

291291
sdh_pip_editable_install() {
292292
echo "Installing $PKG_NAME (editable mode)"
293-
# Until https://trac.sagemath.org/ticket/34209 switches us to PEP 660 editable wheels
294-
export SETUPTOOLS_ENABLE_FEATURE=legacy-editable
295293
python3 -m pip install --verbose --no-deps --no-index --no-build-isolation --isolated --editable "$@" || \
296294
sdh_die "Error installing $PKG_NAME"
297295
}

build/pkgs/sagelib/spkg-install

-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ if [ "$SAGE_EDITABLE" = yes ]; then
5252
# and renamed the distribution to "sagemath-standard"). There is no clean way to uninstall
5353
# them, so we just use rm.
5454
(cd "$SITEPACKAGESDIR" && rm -rf sage sage_setup sage-[1-9]*.egg-info sage-[1-9]*.dist-info)
55-
# Until https://trac.sagemath.org/ticket/34209 switches us to PEP 660 editable wheels
56-
export SETUPTOOLS_ENABLE_FEATURE=legacy-editable
5755
time python3 -m pip install --verbose --no-deps --no-index --no-build-isolation --isolated --editable . || exit 1
5856
else
5957
# Make sure that an installed old version of sagelib in which sage is an ordinary package

0 commit comments

Comments
 (0)