Explorar o código

Closes #3330: Remove .pyc file cleanup step from upgrade script

Jeremy Stretch %!s(int64=6) %!d(string=hai) anos
pai
achega
8e043b00b8
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  1. 0 6
      upgrade.sh

+ 0 - 6
upgrade.sh

@@ -10,12 +10,6 @@ cd "$(dirname "$0")"
 PYTHON="python3"
 PYTHON="python3"
 PIP="pip3"
 PIP="pip3"
 
 
-# TODO: Remove this in v2.6 as it is no longer needed under Python 3
-# Delete stale bytecode
-COMMAND="find . -name \"*.pyc\" -delete"
-echo "Cleaning up stale Python bytecode ($COMMAND)..."
-eval $COMMAND
-
 # Uninstall any Python packages which are no longer needed
 # Uninstall any Python packages which are no longer needed
 COMMAND="${PIP} uninstall -r old_requirements.txt -y"
 COMMAND="${PIP} uninstall -r old_requirements.txt -y"
 echo "Removing old Python packages ($COMMAND)..."
 echo "Removing old Python packages ($COMMAND)..."