mirror of https://github.com/python/cpython.git
gh-98629: Fixes sys._git and sys.version creation on Windows (GH-99664)
(cherry picked from commit 49e554dbaf
)
Co-authored-by: Steve Dower <steve.dower@python.org>
This commit is contained in:
parent
0c6b3a2d8e
commit
2d5f4ba174
|
@ -0,0 +1 @@
|
|||
Fix initialization of :data:`sys.version` and ``sys._git`` on Windows
|
|
@ -585,7 +585,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