python: Add support for installing Python eggs
This commit is contained in:
15
pkgs/development/interpreters/python/hooks/egg-build-hook.sh
Normal file
15
pkgs/development/interpreters/python/hooks/egg-build-hook.sh
Normal 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
|
||||
Reference in New Issue
Block a user