From 07cc6cf9ca63ad57e09f7b1d7819dc628b584ad3 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Wed, 13 Mar 2019 14:13:49 -0700 Subject: [PATCH] bpo-36174: Update nuget authoring for new license field. (GH-12300) --- Tools/nuget/make_zip.py | 1 + Tools/nuget/python2.nuspec | 3 +-- Tools/nuget/python2x86.nuspec | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Tools/nuget/make_zip.py b/Tools/nuget/make_zip.py index 20fadf2dda4369..8844cacb096e9c 100644 --- a/Tools/nuget/make_zip.py +++ b/Tools/nuget/make_zip.py @@ -103,6 +103,7 @@ def include_in_tools(p): ('Lib/', 'Lib', '**/*', include_in_lib), ('libs/', 'PCBuild/$arch', '*.lib', include_in_libs), ('Tools/', 'Tools', '**/*', include_in_tools), + ('/', '', 'LICENSE', None), ] EMBED_LAYOUT = [ diff --git a/Tools/nuget/python2.nuspec b/Tools/nuget/python2.nuspec index 7c1a63db4e6f94..d5e1e8b757173d 100644 --- a/Tools/nuget/python2.nuspec +++ b/Tools/nuget/python2.nuspec @@ -5,9 +5,8 @@ Python 2.7 0.0.0.0 Python Software Foundation - https://docs.python.org/2.7/license.html + tools\LICENSE https://www.python.org/ - false Installs 64-bit Python 2.7 for use in build scenarios. https://www.python.org/static/favicon.ico python diff --git a/Tools/nuget/python2x86.nuspec b/Tools/nuget/python2x86.nuspec index 6f433217054acf..ff12ac226c7198 100644 --- a/Tools/nuget/python2x86.nuspec +++ b/Tools/nuget/python2x86.nuspec @@ -5,9 +5,8 @@ Python 2.7 (32-bit) Python Software Foundation 0.0.0.0 - https://docs.python.org/2.7/license.html + tools\LICENSE https://www.python.org/ - false Installs 32-bit Python 2.7 for use in build scenarios. https://www.python.org/static/favicon.ico python