MCPcopy Create free account
hub / github.com/CScorza/IntelOSINT / _sync_venv_packages

Function _sync_venv_packages

IntelOSINT.py:59–63  ·  view source on GitHub ↗
(py_path: Path, required_pkgs)

Source from the content-addressed store, hash-verified

57 return py
58
59def _sync_venv_packages(py_path: Path, required_pkgs):
60 print("[*] Verifica/allineamento dipendenze nella .venv...")
61 subprocess.run([str(py_path), "-m", "pip", "install", "--upgrade", "pip"], check=True)
62 subprocess.run([str(py_path), "-m", "pip", "install", *required_pkgs], check=True)
63 subprocess.run([str(py_path), "-m", "playwright", "install", "chromium"], check=True)
64
65def setup_env():
66 script_path = Path(__file__).resolve()

Callers 1

setup_envFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected