summaryrefslogtreecommitdiffstats
path: root/Tools/nuget
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-06-25 23:13:30 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-06-25 23:13:30 (GMT)
commite7614dd07d533ec4f22007d65649175b9dee8be4 (patch)
tree09f4fd59edcf4e51a34f2afc8862154e999d3b37 /Tools/nuget
parente92dc9c23da8cb11f922f28353e6a58928aa5c71 (diff)
downloadcpython-e7614dd07d533ec4f22007d65649175b9dee8be4.zip
cpython-e7614dd07d533ec4f22007d65649175b9dee8be4.tar.gz
cpython-e7614dd07d533ec4f22007d65649175b9dee8be4.tar.bz2
Simplifies nuget build with better parameters.
Diffstat (limited to 'Tools/nuget')
-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 15e6d8f..bd3fad8 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>