···11-# Setup hook for detecting conflicts in Python packages11+# Setup hook for removing bytecode from the bin folder22echo "Sourcing python-remove-bin-bytecode-hook.sh"3344-# Check if we have two packages with the same name in the closure and fail.55-# If this happens, something went wrong with the dependencies specs.66-# Intentionally kept in a subdirectory, see catch_conflicts/README.md.44+# The bin folder is added to $PATH and should only contain executables.55+# It may happen there are executables with a .py extension for which66+# bytecode is generated. This hook removes that bytecode.7788pythonRemoveBinBytecodePhase () {99 if [ -d "$out/bin" ]; then