Skip to content

Commit fdd976e

Browse files
committed
support source and pyenv or venv python3 homes
1 parent 0181696 commit fdd976e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mx.graalpython/mx_graalpython_python_benchmarks.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,10 @@ def interpreter(self):
238238
return sys.executable
239239
if exists(exe := join(home, "bin", "python3")):
240240
return exe
241+
elif exists(exe := join(home, "python3")):
242+
return exe
243+
elif exists(exe := join(home, "python")):
244+
return exe
241245
return join(home, "bin", "python")
242246

243247
def run(self, cwd, args):

0 commit comments

Comments
 (0)