From 3f9fbfcdd420a3277dcebbf61cd830b7626539a5 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Fri, 24 Jun 2016 11:37:50 -0700 Subject: Preinstalls pip into the nuget package so that pip.exe is available after installation. --- Tools/nuget/make_pkg.proj | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tools/nuget/make_pkg.proj b/Tools/nuget/make_pkg.proj index 812349a..15e6d8f 100644 --- a/Tools/nuget/make_pkg.proj +++ b/Tools/nuget/make_pkg.proj @@ -24,6 +24,8 @@ "$(PythonExe)" "$(MSBuildThisFileDirectory)\..\msi\make_zip.py" $(PythonArguments) -t "$(IntermediateOutputPath)" -a $(ArchName) + "$(IntermediateOutputPath)\python.exe" -B -c "import sys; sys.path.append('$(PySourcePath)\Lib'); import ensurepip; ensurepip._main()" + "$(Nuget)" pack "$(MSBuildThisFileDirectory)\$(OutputName).nuspec" $(NugetArguments) -BasePath "$(IntermediateOutputPath)" $(NugetArguments) -OutputDirectory "$(OutputPath)\en-us" @@ -40,9 +42,10 @@ set VCREDIST_PATH=$(VS140COMNTOOLS)\..\..\VC\redist\$(Platform)\Microsoft.VC140. + + -- cgit v0.12