Get the python major version.
(python_bin_path)
| 189 | |
| 190 | |
| 191 | def get_python_major_version(python_bin_path): |
| 192 | """Get the python major version.""" |
| 193 | return run_shell([python_bin_path, '-c', 'import sys; print(sys.version[0])']) |
| 194 | |
| 195 | |
| 196 | def setup_python(environ_cp): |
no test coverage detected