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

Skip to content

Commit d8bf09c

Browse files
committed
Issue #27053: Updates make_zip.py to correctly generate library ZIP file.
1 parent 3116cc4 commit d8bf09c

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,8 @@ Build
556556
Windows
557557
-------
558558

559+
- Issue #27053: Updates make_zip.py to correctly generate library ZIP file.
560+
559561
- Issue #26268: Update the prepare_ssl.py script to handle OpenSSL releases
560562
that don't include the contents of the include directory (that is, 1.0.2e
561563
and later).

Tools/msi/make_zip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def include_in_tools(p):
8989
('/', 'PCBuild/$arch', 'python*.exe', is_not_debug),
9090
('/', 'PCBuild/$arch', '*.pyd', is_not_debug),
9191
('/', 'PCBuild/$arch', '*.dll', is_not_debug),
92-
('python35.zip', 'Lib', '**/*', include_in_lib),
92+
('python{0.major}{0.minor}.zip'.format(sys.version_info), 'Lib', '**/*', include_in_lib),
9393
]
9494

9595
if os.getenv('DOC_FILENAME'):

0 commit comments

Comments
 (0)