summaryrefslogtreecommitdiffstats
path: root/Tools/nuget/pythondaily.nuspec
diff options
context:
space:
mode:
authorVáclav Slavík <vaclav@slavik.io>2020-09-14 19:30:15 (GMT)
committerGitHub <noreply@github.com>2020-09-14 19:30:15 (GMT)
commit7c11a9accabe3720940f334eb1226bb7bb9179c7 (patch)
treeefcf1d9b26ef35ad4881358b49a0d71a8ddd4da7 /Tools/nuget/pythondaily.nuspec
parent8f2b991eef062c22c429a96983c78be007180b66 (diff)
downloadcpython-7c11a9accabe3720940f334eb1226bb7bb9179c7.zip
cpython-7c11a9accabe3720940f334eb1226bb7bb9179c7.tar.gz
cpython-7c11a9accabe3720940f334eb1226bb7bb9179c7.tar.bz2
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.
Diffstat (limited to 'Tools/nuget/pythondaily.nuspec')
-rw-r--r--Tools/nuget/pythondaily.nuspec3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/nuget/pythondaily.nuspec b/Tools/nuget/pythondaily.nuspec
index 5cf5580..7df1983 100644
--- a/Tools/nuget/pythondaily.nuspec
+++ b/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>