This repository was archived by the owner on Jan 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -290,6 +290,8 @@ sdh_pip_install() {
290
290
291
291
sdh_pip_editable_install () {
292
292
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
293
295
python3 -m pip install --verbose --no-deps --no-index --no-build-isolation --isolated --editable " $@ " || \
294
296
sdh_die " Error installing $PKG_NAME "
295
297
}
Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ if [ "$SAGE_EDITABLE" = yes ]; then
52
52
# and renamed the distribution to "sagemath-standard"). There is no clean way to uninstall
53
53
# them, so we just use rm.
54
54
(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
55
57
time python3 -m pip install --verbose --no-deps --no-index --no-build-isolation --isolated --editable . || exit 1
56
58
else
57
59
# Make sure that an installed old version of sagelib in which sage is an ordinary package
You can’t perform that action at this time.
0 commit comments