bootstrap()
Prepare a cloned project so it is ready to work in.
Usage
bootstrap(
path: str | Path = '.',
*,
interactive: bool = False,
packages: bool = True,
) -> BootstrapResult
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| path | str | Path | '.' |
The project folder. |
| interactive | bool | False |
Ask for the values of empty |
| packages | bool | True |
Install the packages with uv. |
Value
A BootstrapResult with the steps taken and the to-dos left.
Raises
FrameworkError: The project cannot be prepared: there is no settings file, the project is not a Python project, its spec is invalid, or the packages could not be installed.