proj_flow.minimal.bootstrap

The proj_flow.minimal.bootstrap implements ./flow bootstrap command.

proj_flow.minimal.bootstrap.main(_ign: ~typing.Annotated[bool, ~proj_flow.api.arg.FlagArgument(help=Bootstrap the Flow without virtual environment (usable with solutions like pyenv), pos=False, names=['--no-venv'], nargs=None, opt=True, meta=None, action=store_true, default=False, choices=None, completer=None, group=None)], rt: ~proj_flow.api.env.Runtime)

Finish bootstrapping on behalf of flow.py

Call:

proj-flow bootstrap

Call:

./flow bootstrap

Parameters:
  • _ign (bool) – Bootstrap the Flow without virtual environment (usable with solutions like pyenv)

  • rt (Runtime) – Tools and print messages, while respecting --dry-run, --silent and --verbose.

proj_flow.minimal.bootstrap.get_versions() dict[str, str]
proj_flow.minimal.bootstrap.get_version(name: str, versions: dict[str, str])
proj_flow.minimal.bootstrap.print_versions(rt: Runtime, packages: set[str])