[Python-checkins] cpython (3.5): Issue #27053: Updates make_zip.py to correctly generate library ZIP file.

steve.dower python-checkins at python.org
Thu May 19 15:10:43 EDT 2016


https://hg.python.org/cpython/rev/12cb81e90479
changeset:   101437:12cb81e90479
branch:      3.5
parent:      101435:13c5135d8467
user:        Steve Dower <steve.dower at microsoft.com>
date:        Thu May 19 10:47:47 2016 -0700
summary:
  Issue #27053: Updates make_zip.py to correctly generate library ZIP file.

files:
  Misc/NEWS             |  2 ++
  Tools/msi/make_zip.py |  2 +-
  2 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -556,6 +556,8 @@
 Windows
 -------
 
+- Issue #27053: Updates make_zip.py to correctly generate library ZIP file.
+
 - Issue #26268: Update the prepare_ssl.py script to handle OpenSSL releases
   that don't include the contents of the include directory (that is, 1.0.2e
   and later).
diff --git a/Tools/msi/make_zip.py b/Tools/msi/make_zip.py
--- a/Tools/msi/make_zip.py
+++ b/Tools/msi/make_zip.py
@@ -89,7 +89,7 @@
     ('/', 'PCBuild/$arch', 'python*.exe', is_not_debug),
     ('/', 'PCBuild/$arch', '*.pyd', is_not_debug),
     ('/', 'PCBuild/$arch', '*.dll', is_not_debug),
-    ('python35.zip', 'Lib', '**/*', include_in_lib),
+    ('python{0.major}{0.minor}.zip'.format(sys.version_info), 'Lib', '**/*', include_in_lib),
 ]
 
 if os.getenv('DOC_FILENAME'):

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list