summary refs log blame commit diff
path: root/pkgs/development/interpreters/python/hooks/egg-build-hook.sh
blob: d5abc8d55e5af0c00af04c69f11f23b19c2ba4e5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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