diff --git a/entrypoint.sh b/entrypoint.sh index eadfcb8..066ba5e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -15,5 +15,8 @@ pyenv latest local "$INPUT_PYTHON_VERSION" sh -c "poetry $*" +# Clean up __pycache__ +find . -type d -name "__pycache__" -exec rm -r {} + + # Step back to starting directory. popd > /dev/null 2>&1 || return