(self, python_bin: str, python_env: Optional[Dict]=None)
| 1132 | yield line.split("==", 2)[0] |
| 1133 | |
| 1134 | def _bin_version(self, python_bin: str, python_env: Optional[Dict]=None): |
| 1135 | return self._run_args([ |
| 1136 | str(python_bin), "-c", "import sys; sys.stdout.write(f'{sys.version_info.major}.{sys.version_info.minor}')" |
| 1137 | ], env=python_env)[1] |
| 1138 | |
| 1139 | def _get_executable_for_libpython(self, python_lib: str, python_bin: str, python_env: Optional[Dict]=None) -> Tuple[Optional[str], str]: |
| 1140 | python_lib_version = f"{sys.version_info.major}.{sys.version_info.minor}" |
no test coverage detected