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
parent
commit
7c11a9acca
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      Misc/NEWS.d/next/Windows/2020-09-11-17-59-33.bpo-41744.e_ugDQ.rst
  2. 2
      Tools/nuget/python.nuspec
  3. 3
      Tools/nuget/pythonarm32.nuspec
  4. 3
      Tools/nuget/pythondaily.nuspec
  5. 3
      Tools/nuget/pythonx86.nuspec

1
Misc/NEWS.d/next/Windows/2020-09-11-17-59-33.bpo-41744.e_ugDQ.rst

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

2
Tools/nuget/python.nuspec

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

3
Tools/nuget/pythonarm32.nuspec

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

3
Tools/nuget/pythondaily.nuspec

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

3
Tools/nuget/pythonx86.nuspec

@ -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…
Cancel
Save