Browse Source
bpo-41744: Package python.props with correct name in NuGet package (GH-22154)
NuGet automatically includes .props file from the build directory in the
target using the package, but only if the .props file has the correct
name: it must be $(id).props
Rename python.props correspondingly in all the nuspec variants. Also
keep python.props as it were for backward compatibility.
pull/22249/head
Václav Slavík
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with
8 additions and
4 deletions
Misc/NEWS.d/next/Windows/2020-09-11-17-59-33.bpo-41744.e_ugDQ.rst
Tools/nuget/python.nuspec
Tools/nuget/pythonarm32.nuspec
Tools/nuget/pythondaily.nuspec
Tools/nuget/pythonx86.nuspec
@ -0,0 +1 @@
Fixes automatic import of props file when using the Nuget package.
@ -13,6 +13,6 @@
</metadata>
<files>
<file src="**\*" exclude="python.props" target="tools" />
<file src="python.props" target="build\native" />
<file src="python.props" target="build\native\python.props " />
</files>
</package>
@ -14,6 +14,7 @@
</metadata>
<files>
<file src="**\*" exclude="python.props" target="tools" />
<file src="python.props" target="build\native" />
<file src="python.props" target="build\native\python.props" />
<file src="python.props" target="build\native\pythonarm32.props" />
</files>
</package>
@ -13,6 +13,7 @@
</metadata>
<files>
<file src="**\*" exclude="python.props" target="tools" />
<file src="python.props" target="build\native" />
<file src="python.props" target="build\native\python.props" />
<file src="python.props" target="build\native\pythondaily.props" />
</files>
</package>
@ -13,6 +13,7 @@
</metadata>
<files>
<file src="**\*" exclude="python.props" target="tools" />
<file src="python.props" target="build\native" />
<file src="python.props" target="build\native\python.props" />
<file src="python.props" target="build\native\pythonx86.props" />
</files>
</package>