mirror of https://github.com/python/cpython
gh-98629: Fixes sys._git and sys.version creation on Windows (GH-99664)
This commit is contained in:
parent
c450c8c9ed
commit
49e554dbaf
|
@ -0,0 +1 @@
|
|||
Fix initialization of :data:`sys.version` and ``sys._git`` on Windows
|
|
@ -595,7 +595,7 @@
|
|||
</PropertyGroup>
|
||||
<Message Text="Building $(GitTag):$(GitVersion) $(GitBranch)" Importance="high" />
|
||||
<ItemGroup>
|
||||
<ClCompile Condition="$(Filename) == 'getbuildinfo'">
|
||||
<ClCompile Condition="%(Filename) == 'getbuildinfo'">
|
||||
<PreprocessorDefinitions>GITVERSION="$(GitVersion)";GITTAG="$(GitTag)";GITBRANCH="$(GitBranch)";%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
|
|
Loading…
Reference in New Issue