From ce800125fa2e36c13f65e8eec982367bf1562b5b Mon Sep 17 00:00:00 2001 From: Michael Sarahan Date: Sat, 8 Dec 2018 18:41:53 -0600 Subject: [PATCH] add -l flag to compileall to make sure it only touches what we want --- conda/gateways/disk/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda/gateways/disk/create.py b/conda/gateways/disk/create.py index 3f310fcf1d..1664504bcb 100644 --- a/conda/gateways/disk/create.py +++ b/conda/gateways/disk/create.py @@ -353,7 +353,7 @@ def compile_multiple_pyc(python_exe_full_path, py_full_paths, pyc_full_paths, si tf.write(f + "\n") tf.flush() - command = ["-Wi", "-m", "compileall", "-q", "-i", tf.name] + command = ["-Wi", "-m", "compileall", "-q", "-l", "-i", tf.name] # if the python version in the prefix is 3.5+, we have some extra args. # -j 0 will do the compilation in parallel, with os.cpu_count() cores