Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e7614dd

Browse files
committed
Simplifies nuget build with better parameters.
1 parent e92dc9c commit e7614dd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Tools/nuget/make_pkg.proj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<OutputName Condition="$(Platform) == 'x86'">$(OutputName)x86</OutputName>
77
<OutputSuffix></OutputSuffix>
88
<SupportSigning>false</SupportSigning>
9+
<BuildForRelease Condition="$(BuildForRelease) == ''">true</BuildForRelease>
910
</PropertyGroup>
1011

1112
<Import Project="..\msi\msi.props" />
@@ -24,7 +25,7 @@
2425
<PythonArguments>"$(PythonExe)" "$(MSBuildThisFileDirectory)\..\msi\make_zip.py"</PythonArguments>
2526
<PythonArguments>$(PythonArguments) -t "$(IntermediateOutputPath)" -a $(ArchName)</PythonArguments>
2627

27-
<PipArguments>"$(IntermediateOutputPath)\python.exe" -B -c "import sys; sys.path.append('$(PySourcePath)\Lib'); import ensurepip; ensurepip._main()"</PipArguments>
28+
<PipArguments>"$(IntermediateOutputPath)\python.exe" -B -c "import sys; sys.path.append(r'$(PySourcePath)\Lib'); import ensurepip; ensurepip._main()"</PipArguments>
2829

2930
<NugetArguments>"$(Nuget)" pack "$(MSBuildThisFileDirectory)\$(OutputName).nuspec"</NugetArguments>
3031
<NugetArguments>$(NugetArguments) -BasePath "$(IntermediateOutputPath)"</NugetArguments>

0 commit comments

Comments
 (0)