diff options
author | Steve Dower <steve.dower@microsoft.com> | 2019-03-13 21:43:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-13 21:43:47 (GMT) |
commit | ce5c7a93d47e07327d19dfb47a967f1b18b7d6e8 (patch) | |
tree | 440187d86d4dcec2c14a9fc976fc349b9027f61e /Tools | |
parent | 507bd8cde60ced74d13a1ffa883bb9b0e73c38be (diff) | |
download | cpython-ce5c7a93d47e07327d19dfb47a967f1b18b7d6e8.zip cpython-ce5c7a93d47e07327d19dfb47a967f1b18b7d6e8.tar.gz cpython-ce5c7a93d47e07327d19dfb47a967f1b18b7d6e8.tar.bz2 |
bpo-36174: Update nuget authoring for new license field. (GH-12300)
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/nuget/make_zip.py | 1 | ||||
-rw-r--r-- | Tools/nuget/python2.nuspec | 3 | ||||
-rw-r--r-- | 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 20fadf2..8844cac 100644 --- a/Tools/nuget/make_zip.py +++ b/Tools/nuget/make_zip.py @@ -103,6 +103,7 @@ FULL_LAYOUT = [ ('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 7c1a63d..d5e1e8b 100644 --- a/Tools/nuget/python2.nuspec +++ b/Tools/nuget/python2.nuspec @@ -5,9 +5,8 @@ <title>Python 2.7</title> <version>0.0.0.0</version> <authors>Python Software Foundation</authors> - <licenseUrl>https://docs.python.org/2.7/license.html</licenseUrl> + <license type="file">tools\LICENSE</license> <projectUrl>https://www.python.org/</projectUrl> - <requireLicenseAcceptance>false</requireLicenseAcceptance> <description>Installs 64-bit Python 2.7 for use in build scenarios.</description> <iconUrl>https://www.python.org/static/favicon.ico</iconUrl> <tags>python</tags> diff --git a/Tools/nuget/python2x86.nuspec b/Tools/nuget/python2x86.nuspec index 6f43321..ff12ac2 100644 --- a/Tools/nuget/python2x86.nuspec +++ b/Tools/nuget/python2x86.nuspec @@ -5,9 +5,8 @@ <title>Python 2.7 (32-bit)</title> <authors>Python Software Foundation</authors> <version>0.0.0.0</version> - <licenseUrl>https://docs.python.org/2.7/license.html</licenseUrl> + <license type="file">tools\LICENSE</license> <projectUrl>https://www.python.org/</projectUrl> - <requireLicenseAcceptance>false</requireLicenseAcceptance> <description>Installs 32-bit Python 2.7 for use in build scenarios.</description> <iconUrl>https://www.python.org/static/favicon.ico</iconUrl> <tags>python</tags> |