File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 10
10
<PropertyGroup >
11
11
<DestDir >$(PyBuildDir)genhdr\</DestDir >
12
12
<PySrcDir >$(PyBaseDir)py\</PySrcDir >
13
+ <PyPython Condition =" '$(PyPython)' == ''" >python</PyPython >
13
14
</PropertyGroup >
14
15
15
16
<Target Name =" MakeDestDir" >
27
28
<PyIncDirs Include =" $(PyIncDirs)" />
28
29
</ItemGroup >
29
30
<Exec Command =" cl /nologo /I@(PyIncDirs, ' /I') /Fi$(PreProc) /P $(PySrcDir)qstrdefs.h" />
30
- <Exec Command =" python $(PySrcDir)makeqstrdata.py $(PreProc) $(QstrDefs) > $(TmpFile)" />
31
+ <Exec Command =" $(PyPython) $(PySrcDir)makeqstrdata.py $(PreProc) $(QstrDefs) > $(TmpFile)" />
31
32
<MSBuild Projects =" $(MSBuildThisFileFullPath)" Targets =" CopyFileIfDifferent" Properties =" SourceFile=$(TmpFile);DestFile=$(DestFile)" />
32
33
</Target >
33
34
36
37
<DestFile >$(DestDir)mpversion.h</DestFile >
37
38
<TmpFile >$(DestFile).tmp</TmpFile >
38
39
</PropertyGroup >
39
- <Exec Command =" python $(PySrcDir)makeversionhdr.py $(TmpFile)" />
40
+ <Exec Command =" $(PyPython) $(PySrcDir)makeversionhdr.py $(TmpFile)" />
40
41
<MSBuild Projects =" $(MSBuildThisFileFullPath)" Targets =" CopyFileIfDifferent" Properties =" SourceFile=$(TmpFile);DestFile=$(DestFile)" />
41
42
</Target >
42
43
You can’t perform that action at this time.
0 commit comments