summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2012-10-28 09:11:00 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2012-10-28 09:11:00 (GMT)
commit65e2bef4f0dd1e39915be45e219d82bf25e7d5e4 (patch)
tree3b509dfc52e6217e4d209960dabab308bfd095b0
parent01f47e82a3e6bccce7dddea63fa64fec29748112 (diff)
downloadcpython-65e2bef4f0dd1e39915be45e219d82bf25e7d5e4.zip
cpython-65e2bef4f0dd1e39915be45e219d82bf25e7d5e4.tar.gz
cpython-65e2bef4f0dd1e39915be45e219d82bf25e7d5e4.tar.bz2
Issue #16340: exclude venv/scripts from byte-compilation at installation time on Windows.
-rw-r--r--Tools/msi/msi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
index 2057beb..2ec6951 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -415,7 +415,7 @@ def add_ui(db):
("VerdanaRed9", "Verdana", 9, 255, 0),
])
- compileargs = r'-Wi "[TARGETDIR]Lib\compileall.py" -f -x "bad_coding|badsyntax|site-packages|py2_|lib2to3\\tests" "[TARGETDIR]Lib"'
+ compileargs = r'-Wi "[TARGETDIR]Lib\compileall.py" -f -x "bad_coding|badsyntax|site-packages|py2_|lib2to3\\tests|venv\\scripts" "[TARGETDIR]Lib"'
lib2to3args = r'-c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"'
# See "CustomAction Table"
add_data(db, "CustomAction", [