2020-04-24 23:36:52 +00:00
|
|
|
# Setup hook for detecting conflicts in Python packages
|
|
|
|
echo "Sourcing python-catch-conflicts-hook.sh"
|
|
|
|
|
|
|
|
pythonCatchConflictsPhase() {
|
2022-09-30 11:47:45 +00:00
|
|
|
PYTHONPATH="@setuptools@/@pythonSitePackages@:$PYTHONPATH" @pythonInterpreter@ @catchConflicts@
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
if [ -z "${dontUsePythonCatchConflicts-}" ]; then
|
|
|
|
preDistPhases+=" pythonCatchConflictsPhase"
|
|
|
|
fi
|