Skip to content

Commit

Permalink
gh-98629: Fixes sys._git and sys.version creation on Windows (GH-99664)
Browse files Browse the repository at this point in the history
(cherry picked from commit 49e554d)

Co-authored-by: Steve Dower <steve.dower@python.org>
  • Loading branch information
miss-islington and zooba authored Nov 21, 2022
1 parent 0c6b3a2 commit 2d5f4ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix initialization of :data:`sys.version` and ``sys._git`` on Windows
2 changes: 1 addition & 1 deletion PCbuild/pythoncore.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2d5f4ba

Please sign in to comment.