| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 257e220 commit 642c057
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,6 +4,7 @@ | |||
| 4 | 4 | # Note that the mix of single and double quotes is intentional, | |
| 5 | 5 | # as is the fact that the ] goes on a new line. | |
| 6 | 6 | _=[ 'exec' '/bin/sh' '-c' ''' | |
| 7 | + command -v python3.12 >/dev/null && exec python3.12 "$0" "$@" | ||
| 7 | 8 | command -v python3.11 >/dev/null && exec python3.11 "$0" "$@" | |
| 8 | 9 | command -v python3.10 >/dev/null && exec python3.10 "$0" "$@" | |
| 9 | 10 | command -v python3.9 >/dev/null && exec python3.9 "$0" "$@" | |
@@ -23,7 +24,7 @@ except ImportError: | |||
| 23 | 24 | from distutils.spawn import find_executable as which | |
| 24 | 25 | ||
| 25 | 26 | print('Node.js configure: Found Python {}.{}.{}...'.format(*sys.version_info)) | |
| 26 | - acceptable_pythons = ((3, 11), (3, 10), (3, 9), (3, 8), (3, 7), (3, 6)) | ||
| 27 | + acceptable_pythons = ((3, 12), (3, 11), (3, 10), (3, 9), (3, 8), (3, 7), (3, 6)) | ||
| 27 | 28 | if sys.version_info[:2] in acceptable_pythons: | |
| 28 | 29 | import configure | |
| 29 | 30 | else: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments