python: Add support for installing Python eggs

This commit is contained in:
adisbladis
2020-01-08 13:29:03 +00:00
parent 380220c237
commit 2d6f1ff4dd
7 changed files with 83 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
# Setup hook to use for eggs
echo "Sourcing egg-build-hook"
eggBuildPhase() {
echo "Executing eggBuildPhase"
runHook preBuild
runHook postBuild
echo "Finished executing eggBuildPhase"
}
if [ -z "${dontUseEggBuild-}" ] && [ -z "${buildPhase-}" ]; then
echo "Using eggBuildPhase"
buildPhase=eggBuildPhase
fi