Use `${python.executable}` instead of majorVersion to also support pypy.