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)