Commit 9726ae1d by Ned Batchelder Committed by George Song

Don't delete .pyc files for space. Sandboxes need them.

parent 771c89cc
......@@ -13,8 +13,9 @@ apt-get autoclean -y
# Clean out pip caches.
find / -type d -path '*/.cache/pip' -print -exec rm -rf '{}/*' \;
# Remove all the .pyc files.
find /edx/app -name '*.pyc' -delete
# We used to remove all .pyc files. This caused problems in sandboxes,
# where code couldn't write .pyc files, and everything took too long.
# find /edx/app -name '*.pyc' -delete
# Last thing: fill the disk with zeros so they'll compress well.
# The dd command fails because the disk fills, which is the point, so silence
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment