pythonPackages.pip-install-hook: remove --build option
Pip had the option --build to build in a custom or temporary directory. Nowadays, pip just listens to TMPDIR, which we already set. This option was deprecated and is removed in pip 20.3.
This commit is contained in:
parent
df11a2851c
commit
76966f8ddd
@ -11,7 +11,7 @@ pipInstallPhase() {
|
|||||||
export PYTHONPATH="$out/@pythonSitePackages@:$PYTHONPATH"
|
export PYTHONPATH="$out/@pythonSitePackages@:$PYTHONPATH"
|
||||||
|
|
||||||
pushd dist || return 1
|
pushd dist || return 1
|
||||||
@pythonInterpreter@ -m pip install ./*.whl --no-index --no-warn-script-location --prefix="$out" --no-cache $pipInstallFlags --build tmpbuild
|
@pythonInterpreter@ -m pip install ./*.whl --no-index --no-warn-script-location --prefix="$out" --no-cache $pipInstallFlags
|
||||||
popd || return 1
|
popd || return 1
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
|
@ -49,17 +49,17 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
echo "Building setuptools wheel..."
|
echo "Building setuptools wheel..."
|
||||||
pushd setuptools
|
pushd setuptools
|
||||||
${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache --build tmpbuild .
|
${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache .
|
||||||
popd
|
popd
|
||||||
|
|
||||||
echo "Building wheel wheel..."
|
echo "Building wheel wheel..."
|
||||||
pushd wheel
|
pushd wheel
|
||||||
${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache --build tmpbuild .
|
${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache .
|
||||||
popd
|
popd
|
||||||
|
|
||||||
echo "Building pip wheel..."
|
echo "Building pip wheel..."
|
||||||
pushd pip
|
pushd pip
|
||||||
${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache --build tmpbuild .
|
${python.pythonForBuild.interpreter} -m pip install --no-build-isolation --no-index --prefix=$out --ignore-installed --no-dependencies --no-cache .
|
||||||
popd
|
popd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user