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

Function install_python_requirements_only

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

Source from the content-addressed store, hash-verified

237
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,
247 check=True,
248 stderr=subprocess.STDOUT,)
249
250
251def get_domain(url):

Callers 1

install_scraperFunction · 0.85

Calls 2

remove_empty_linesFunction · 0.85

Tested by

no test coverage detected