]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #27053: Updates make_zip.py to correctly generate library ZIP file.
authorSteve Dower <steve.dower@microsoft.com>
Thu, 19 May 2016 17:47:47 +0000 (10:47 -0700)
committerSteve Dower <steve.dower@microsoft.com>
Thu, 19 May 2016 17:47:47 +0000 (10:47 -0700)
Misc/NEWS
Tools/msi/make_zip.py

index fcfcd4f5514ea09d819184367b4123229dbfad60..d42f1e804b8e571e6c8f82e5693a2d23b7c6d7a0 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -556,6 +556,8 @@ Build
 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).
index d49b5b48b3baa13af62063f2a213bc92dc7adfa7..753ba0f78766d77fa6a99133efc3bebdba7d2a10 100644 (file)
@@ -89,7 +89,7 @@ EMBED_LAYOUT = [
     ('/', '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'):