aea.manager.utils
Multiagent manager utils.
get_
lib_
path
def get_lib_path(env_dir: str) -> str
Get librarty path for env dir.
make_
venv
def make_venv(env_dir: str, set_env: bool = False) -> None
Make venv and update variable to use it.
Arguments:
env_dir
: str, path for new env dirset_env
: bool. use evn within this python process (update, sys.executable and sys.path)
project_
install_
and_
build
def project_install_and_build(project: Project) -> None
Install project dependencies and build required components.
get_
venv_
dir_
for_
project
def get_venv_dir_for_project(project: Project) -> str
Get virtual env directory for project specified.
project_
check
def project_check(project: Project) -> None
Perform project loads well.
run_
in_
venv
def run_in_venv(env_dir: str, fn: Callable, timeout: float, *args: Any) -> Any
Run python function in a dedicated process with virtual env specified.