Get the python major version.
(python_bin_path)
| 171 | |
| 172 | |
| 173 | def get_python_major_version(python_bin_path): |
| 174 | """Get the python major version.""" |
| 175 | return run_shell([python_bin_path, '-c', 'import sys; print(sys.version[0])']) |
| 176 | |
| 177 | |
| 178 | def setup_python(environ_cp): |
no test coverage detected