summary refs log tree commit diff
path: root/pkgs/development/interpreters/python/hooks/python-output-dist-hook.sh
blob: e73e45cd597a1ca6f9bb6941a2892796da99b2d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# Setup hook for storing dist folder (wheels/sdists) in a separate output
echo "Sourcing python-catch-conflicts-hook.sh"

pythonOutputDistPhase() {
    echo "Executing pythonOutputDistPhase"
    mv "dist" "$dist"
    echo "Finished executing pythonOutputDistPhase"
}

preFixupPhases+=" pythonOutputDistPhase"