project_create()
Create a Python project from a resolved spec.
Usage
project_create(
spec: Mapping[str, Any],
location: str | Path,
*,
headless: bool = False,
) -> Path
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| spec required | Mapping[str, Any] |
A resolved spec, from |
|
| location required | str | Path |
The project folder. It must not exist, except in headless mode, where it may be a fresh checkout holding only |
|
| headless | bool | False |
For automation (the framework.pub GitHub Action): no git initialization, no registry entry, and no files under |
Value
The project folder.