depot/third_party/nixpkgs/pkgs/development/interpreters/python/hooks/python-output-dist-hook.sh

11 lines
309 B
Bash
Raw Normal View History

# 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"