[Python-checkins] cpython (3.5): Simplifies nuget build with better parameters.
steve.dower
python-checkins at python.org
Sat Jun 25 19:43:47 EDT 2016
https://hg.python.org/cpython/rev/b76e23fb3c71
changeset: 102178:b76e23fb3c71
branch: 3.5
parent: 102167:07a68800be99
user: Steve Dower <steve.dower at microsoft.com>
date: Sat Jun 25 16:13:30 2016 -0700
summary:
Simplifies nuget build with better parameters.
files:
Tools/nuget/make_pkg.proj | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Tools/nuget/make_pkg.proj b/Tools/nuget/make_pkg.proj
--- 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>
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list