Skip to content

Commit 560ab28

Browse files
author
Matthias Koeppe
committed
Switch sage-conf, sage-setup, sage-sws2rst to modern (PEP 660) editable installation
1 parent e2e0f8d commit 560ab28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/bin/sage-dist-helpers

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,6 @@ sdh_pip_install() {
289289

290290
sdh_pip_editable_install() {
291291
echo "Installing $PKG_NAME (editable mode)"
292-
# Until https://github.com/sagemath/sage/issues/34209 switches us to PEP 660 editable wheels
293-
export SETUPTOOLS_ENABLE_FEATURES=legacy-editable
294292
python3 -m pip install --verbose --no-deps --no-index --no-build-isolation --isolated --editable "$@" || \
295293
sdh_die "Error installing $PKG_NAME"
296294
}

build/pkgs/sagelib/spkg-install.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ if [ "$SAGE_EDITABLE" = yes ]; then
5151
# and renamed the distribution to "sagemath-standard"). There is no clean way to uninstall
5252
# them, so we just use rm.
5353
(cd "$SITEPACKAGESDIR" && rm -rf sage sage-[1-9]*.egg-info sage-[1-9]*.dist-info)
54+
# Until https://github.com/sagemath/sage/issues/34209 switches us to PEP 660 editable wheels
55+
export SETUPTOOLS_ENABLE_FEATURES=legacy-editable
5456
time sdh_pip_editable_install .
5557

5658
if [ "$SAGE_WHEELS" = yes ]; then

0 commit comments

Comments
 (0)