lib: try to find `python` after `python3` · nodejs/node-gyp@dd0e97e · GitHub
Skip to content

Commit dd0e97e

Browse files
sam-githubrvagg
authored andcommitted
lib: try to find python after python3
Unadorned `python` can be either Python 2 or Python 3, but it is likely to be Python 2 for quite a while. To find Python3, it is recommended to use the explicit name `python3`. See: - https://www.python.org/dev/peps/pep-0394/#for-python-runtime-distributors - #1892 (comment) PR-URL: #1907 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: João Reis <reis@janeasystems.com>
1 parent f36bd22 commit dd0e97e

2 files changed

Lines changed: 20 additions & 21 deletions

File tree

lib/find-python.js

Lines changed: 13 additions & 13 deletions

test/test-find-python.js

Lines changed: 7 additions & 8 deletions

0 commit comments

Comments
 (0)