ae2dc6aea6
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
10 lines
346 B
Bash
10 lines
346 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
|
|
appendToVar preDistPhases pythonCatchConflictsPhase
|
|
fi
|