diff --git a/Tools/nuget/make_pkg.proj b/Tools/nuget/make_pkg.proj index 812349a43fe..15e6d8f3891 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. + +