diff --git a/build/pkgs/pip/spkg-install.in b/build/pkgs/pip/spkg-install.in index 728694365cd..6712a1583bc 100644 --- a/build/pkgs/pip/spkg-install.in +++ b/build/pkgs/pip/spkg-install.in @@ -2,10 +2,6 @@ cd src sdh_setup_bdist_wheel -# pip can install its own wheel! But first we need to ensure that the pip -# source directory in on the PYTHONPATH -echo "export PYTHONPATH=\"$(pwd)/src\"" >> ../spkg-pipinst - # --ignore-installed makes sure that pip does not mistake # its own source tree as an existing installation sdh_store_and_pip_install_wheel --ignore-installed . diff --git a/build/pkgs/pip/spkg-pipinstall.in b/build/pkgs/pip/spkg-pipinstall.in new file mode 100644 index 00000000000..3e3f6bbc94e --- /dev/null +++ b/build/pkgs/pip/spkg-pipinstall.in @@ -0,0 +1,5 @@ +cd src + +# pip can install its own wheel! But first we need to ensure that the pip +# source directory in on the PYTHONPATH +export PYTHONPATH="$(pwd)/src"