pypaInstallHook: enter "dist" directory before installing (#250464)
This commit is contained in:
parent
6eac46a06d
commit
130e063a3d
@ -5,10 +5,15 @@ pypaInstallPhase() {
|
|||||||
echo "Executing pypaInstallPhase"
|
echo "Executing pypaInstallPhase"
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
for wheel in dist/*.whl; do
|
pushd dist > /dev/null
|
||||||
|
|
||||||
|
for wheel in *.whl; do
|
||||||
@pythonInterpreter@ -m installer --prefix "$out" "$wheel"
|
@pythonInterpreter@ -m installer --prefix "$out" "$wheel"
|
||||||
|
echo "Successfully installed $wheel"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
export PYTHONPATH="$out/@pythonSitePackages@:$PYTHONPATH"
|
export PYTHONPATH="$out/@pythonSitePackages@:$PYTHONPATH"
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
|
Loading…
Reference in New Issue
Block a user