MCPcopy Index your code
hub / github.com/aws/aws-cli / get_script_header

Method get_script_header

backends/build_system/utils.py:264–269  ·  view source on GitHub ↗
(self, python_exe_path: str)

Source from the content-addressed store, hash-verified

262 venv.create(name, with_pip=with_pip)
263
264 def get_script_header(self, python_exe_path: str) -> str:
265 if IS_WINDOWS:
266 return (
267 f'@echo off & "{python_exe_path}" -x "%~f0" %* & goto :eof\n'
268 )
269 return f"#!{python_exe_path}\n"

Callers 2

_update_script_headerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected