diff --git a/extra/python/build b/extra/python/build index 26f169a1..05baf42c 100755 --- a/extra/python/build +++ b/extra/python/build @@ -1,14 +1,5 @@ #!/bin/sh -e -# Without this environment variable being set to some arbitrary value, -# python's module loader uses timestamps for cache invalidation. Something -# goes wrong here and all pyc files are seen as stale. -# -# By setting this value, python uses checksums for cache invalidation which -# (on my machine) drops startup time from 3 seconds to 0.060s. Further -# investigation is needed. -export SOURCE_DATE_EPOCH=1628593994 - # Remove util-linux dependency among other things. cat >> Modules/Setup <