summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-06-25 16:13:30 -0700
committerSteve Dower <steve.dower@microsoft.com>2016-06-25 16:13:30 -0700
commitd2f6bfa5a5192120cee08eab488203ecf4c9bc12 (patch)
treeef53a43fbc04bc34ef87326c0ce2791224f158e0 /Tools
parent8497fb117737ae898845a4d04af17cb96e15f60f (diff)
downloadcpython-d2f6bfa5a5192120cee08eab488203ecf4c9bc12.tar.gz
Simplifies nuget build with better parameters.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/nuget/make_pkg.proj3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/nuget/make_pkg.proj b/Tools/nuget/make_pkg.proj
index 15e6d8f389..bd3fad8a37 100644
--- a/Tools/nuget/make_pkg.proj
+++ b/Tools/nuget/make_pkg.proj
@@ -6,6 +6,7 @@
<OutputName Condition="$(Platform) == 'x86'">$(OutputName)x86</OutputName>
<OutputSuffix></OutputSuffix>
<SupportSigning>false</SupportSigning>
+ <BuildForRelease Condition="$(BuildForRelease) == ''">true</BuildForRelease>
</PropertyGroup>
<Import Project="..\msi\msi.props" />
@@ -24,7 +25,7 @@
<PythonArguments>"$(PythonExe)" "$(MSBuildThisFileDirectory)\..\msi\make_zip.py"</PythonArguments>
<PythonArguments>$(PythonArguments) -t "$(IntermediateOutputPath)" -a $(ArchName)</PythonArguments>
- <PipArguments>"$(IntermediateOutputPath)\python.exe" -B -c "import sys; sys.path.append('$(PySourcePath)\Lib'); import ensurepip; ensurepip._main()"</PipArguments>
+ <PipArguments>"$(IntermediateOutputPath)\python.exe" -B -c "import sys; sys.path.append(r'$(PySourcePath)\Lib'); import ensurepip; ensurepip._main()"</PipArguments>
<NugetArguments>"$(Nuget)" pack "$(MSBuildThisFileDirectory)\$(OutputName).nuspec"</NugetArguments>
<NugetArguments>$(NugetArguments) -BasePath "$(IntermediateOutputPath)"</NugetArguments>