Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4334d74

Browse files
committed
Issue #12406: Added upates for packaging's .exe files, command_template, and sysconfig.cfg.
1 parent 21e4a0a commit 4334d74

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Tools/msi/msi.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
"30":"{6953bc3b-6768-4291-8410-7914ce6e2ca8}",
120120
"31":"{4afcba0b-13e4-47c3-bebe-477428b46913}",
121121
"32":"{3ff95315-1096-4d31-bd86-601d5438ad5e}",
122+
"33":"{f7581ca4-d368-4eea-8f82-d48c64c4f047}",
122123
} [major+minor]
123124

124125
# Compute the name that Sphinx gives to the docfile
@@ -1010,6 +1011,8 @@ def add_files(db):
10101011
lib.remove_pyc()
10111012
# package READMEs if present
10121013
lib.glob("README")
1014+
if dir=='Lib':
1015+
lib.add_file("sysconfig.cfg")
10131016
if dir=='test' and parent.physical=='Lib':
10141017
lib.add_file("185test.db")
10151018
lib.add_file("audiotest.au")
@@ -1045,7 +1048,7 @@ def add_files(db):
10451048
if dir=="Icons":
10461049
lib.glob("*.gif")
10471050
lib.add_file("idle.icns")
1048-
if dir=="command" and parent.physical=="distutils":
1051+
if dir=="command" and parent.physical in ("distutils", "packaging"):
10491052
lib.glob("wininst*.exe")
10501053
lib.add_file("command_template")
10511054
if dir=="lib2to3":
@@ -1156,6 +1159,8 @@ def add_files(db):
11561159
lib.add_file("README.txt", src="README")
11571160
if f == 'Scripts':
11581161
lib.add_file("2to3.py", src="2to3")
1162+
lib.add_file("pydoc3.py", src="pydoc3")
1163+
lib.add_file("pysetup3.py", src="pysetup3")
11591164
if have_tcl:
11601165
lib.start_component("pydocgui.pyw", tcltk, keyfile="pydocgui.pyw")
11611166
lib.add_file("pydocgui.pyw")

0 commit comments

Comments
 (0)