MCPcopy
hub / github.com/omkarcloud/botasaurus / create_install_python_requirements_only

Function create_install_python_requirements_only

bota/src/bota/vm.py:240–243  ·  view source on GitHub ↗
(folder_name)

Source from the content-addressed store, hash-verified

238
239def install_python_requirements_only(folder_name):
240 def create_install_python_requirements_only(folder_name):
241 return f"""
242 cd {folder_name}
243 python3 -m pip install -r requirements.txt"""
244
245 install_commands = create_install_python_requirements_only(folder_name)
246 subprocess.run(remove_empty_lines(install_commands), shell=True,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected