File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -388,7 +388,7 @@ sdh_store_and_pip_install_wheel() {
388388 local sudo=" "
389389 local root=" "
390390 fi
391- sdh_actually_pip_install_wheel $distname $root $pip_options -r " $SAGE_SPKG_SCRIPTS / $PKG_BASE /spkg-requirements.txt "
391+ sdh_actually_pip_install_wheel $distname $root $pip_options " $wheel "
392392 fi
393393 echo " sdh_pip_uninstall -r \"\$ SAGE_SPKG_SCRIPTS/\$ PKG_BASE/spkg-requirements.txt\" " >> " $script_dir " /spkg-piprm
394394}
@@ -406,7 +406,7 @@ sdh_actually_pip_install_wheel() {
406406 echo " (ignoring error)" >&2
407407 fi
408408 $sudo sage-pip-install " $@ " || \
409- sdh_die " Error installing $@ "
409+ sdh_die " Error installing $distname "
410410}
411411
412412sdh_pip_uninstall () {
Original file line number Diff line number Diff line change 22
33sdh_setup_bdist_wheel
44
5+ # pip can install its own wheel! But first we need to ensure that the pip
6+ # source directory in on the PYTHONPATH
7+ export PYTHONPATH="$(pwd)/src"
8+
59# --ignore-installed makes sure that pip does not mistake
610# its own source tree as an existing installation
711sdh_store_and_pip_install_wheel --ignore-installed .
You can’t perform that action at this time.
0 commit comments