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.
This commit is contained in:
Václav Slavík 2020-09-14 21:30:15 +02:00 committed by GitHub
parent 8f2b991eef
commit 7c11a9acca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 4 deletions

View File

@ -0,0 +1 @@
Fixes automatic import of props file when using the Nuget package.

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>