mirror of
https://github.com/python/cpython
synced 2024-09-05 16:38:56 +00:00
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:
parent
8f2b991eef
commit
7c11a9acca
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue