Skip to content

Commit ce5c7a9

Browse files
authored
bpo-36174: Update nuget authoring for new license field. (GH-12300)
1 parent 507bd8c commit ce5c7a9

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Tools/nuget/make_zip.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ def include_in_tools(p):
103103
('Lib/', 'Lib', '**/*', include_in_lib),
104104
('libs/', 'PCBuild/$arch', '*.lib', include_in_libs),
105105
('Tools/', 'Tools', '**/*', include_in_tools),
106+
('/', '', 'LICENSE', None),
106107
]
107108

108109
EMBED_LAYOUT = [

Tools/nuget/python2.nuspec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
<title>Python 2.7</title>
66
<version>0.0.0.0</version>
77
<authors>Python Software Foundation</authors>
8-
<licenseUrl>https://docs.python.org/2.7/license.html</licenseUrl>
8+
<license type="file">tools\LICENSE</license>
99
<projectUrl>https://www.python.org/</projectUrl>
10-
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1110
<description>Installs 64-bit Python 2.7 for use in build scenarios.</description>
1211
<iconUrl>https://www.python.org/static/favicon.ico</iconUrl>
1312
<tags>python</tags>

Tools/nuget/python2x86.nuspec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
<title>Python 2.7 (32-bit)</title>
66
<authors>Python Software Foundation</authors>
77
<version>0.0.0.0</version>
8-
<licenseUrl>https://docs.python.org/2.7/license.html</licenseUrl>
8+
<license type="file">tools\LICENSE</license>
99
<projectUrl>https://www.python.org/</projectUrl>
10-
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1110
<description>Installs 32-bit Python 2.7 for use in build scenarios.</description>
1211
<iconUrl>https://www.python.org/static/favicon.ico</iconUrl>
1312
<tags>python</tags>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy