Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Commit 3aa62e6

Browse files
committed
Remove python27 hack
A "temporary" hack was added six years to support forcing UIforETW to use Python 2.7. That hack was probably never needed and is certainly undesirable now. This affects issue #13.
1 parent cf87c3f commit 3aa62e6

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

UIforETW/Utility.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -846,15 +846,6 @@ std::wstring FindInPath(const std::wstring& exeName)
846846

847847
std::wstring FindPython()
848848
{
849-
const std::wstring pytwoseven = GetEnvironmentVariableString(L"python27");
850-
851-
// Some people, like me, (Alexander Riccio) have an environment variable
852-
// that specifically points to Python 2.7.
853-
// As a workaround for issue #13, we'll use that version of Python.
854-
// See the issue: https://github.com/google/UIforETW/issues/13
855-
if (!pytwoseven.empty())
856-
return pytwoseven;
857-
858849
// First look for python.exe. If that isn't found then look for
859850
// python.bat, part of Chromium's depot_tools
860851
for (const auto& exeName : { L"python.exe", L"python.bat" })

0 commit comments

Comments
 (0)