(self, install_dir)
| 105 | return os.path.join(install_bin_dir, exe) |
| 106 | |
| 107 | def _update_script_header(self, install_dir): |
| 108 | python_exe_path = self._get_install_bin_exe( |
| 109 | install_dir, PYTHON_EXE_NAME |
| 110 | ) |
| 111 | for exe in CLI_SCRIPTS: |
| 112 | exe_path = self._get_install_bin_exe(install_dir, exe) |
| 113 | lines = self._utils.read_file_lines(exe_path) |
| 114 | lines[0] = self._utils.get_script_header(python_exe_path) |
| 115 | self._utils.write_file(exe_path, "".join(lines)) |
no test coverage detected