Skip to content

Commit

Permalink
add -l flag to compileall to make sure it only touches what we want
Browse files Browse the repository at this point in the history
  • Loading branch information
msarahan committed Dec 9, 2018
1 parent 7b994bc commit ce80012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda/gateways/disk/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce80012

Please sign in to comment.