5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
10 lines
338 B
Bash
10 lines
338 B
Bash
# Setup hook for detecting conflicts in Python packages
|
|
echo "Sourcing python-catch-conflicts-hook.sh"
|
|
|
|
pythonCatchConflictsPhase() {
|
|
PYTHONPATH="@setuptools@/@pythonSitePackages@:$PYTHONPATH" @pythonInterpreter@ @catchConflicts@
|
|
}
|
|
|
|
if [ -z "${dontUsePythonCatchConflicts-}" ]; then
|
|
preDistPhases+=" pythonCatchConflictsPhase"
|
|
fi
|