Configuration Variables Reference¶
All variables defined in copier.yml that are prompted during project generation.
Project information¶
Variable |
Type |
Default |
Description |
|---|---|---|---|
|
string |
|
Author’s full name |
|
string |
|
Author’s email address |
|
string |
— |
Human-readable project name |
|
string |
|
One-line project description |
|
string |
|
Project repository URL |
|
string |
|
Project license |
|
string |
|
GitHub repository owner |
|
string |
— |
Python package name. Must be a valid Python identifier in snake_case (matches |
|
string |
|
Initial project version |
Python and tooling¶
Variable |
Type |
Default |
Description |
|---|---|---|---|
|
string |
|
Primary Python version |
|
string |
|
Comma-separated list of supported Python versions. Allowed values: |
|
string |
|
Version of uv to use |
|
string |
|
Version of tox to use |
Sphinx theme¶
Variable |
Type |
Default |
Description |
|---|---|---|---|
|
choice |
|
Documentation theme |
Available themes:
Third-party themes: furo, sphinx-rtd-theme, sphinx-book-theme, pydata-sphinx-theme, sphinx-press-theme, piccolo-theme, sphinxawesome-theme, sphinx-wagtail-theme
Built-in themes: alabaster, agogo, bizstyle, classic, haiku, nature, pyramid, scrolls, sphinxdoc, traditional
Optional features¶
Variable |
Type |
Default |
Condition |
Description |
|---|---|---|---|---|
|
bool |
|
— |
Include |
|
bool |
|
— |
Include |
|
bool |
|
— |
Include Dependabot configuration |
|
bool |
|
Dependabot and GitHub Actions enabled |
Auto-approve and auto-merge Dependabot PRs |
|
bool |
|
— |
Include GitHub Actions workflows |
|
bool |
|
GitHub Actions enabled |
Upload test coverage to Codecov |
Publishing options¶
All publishing options require GitHub Actions to be enabled.
Variable |
Type |
Default |
Trigger |
Description |
|---|---|---|---|---|
|
bool |
|
Push to main |
Publish to TestPyPI |
|
bool |
|
GitHub release |
Publish to PyPI |
|
bool |
|
GitHub release |
Publish to GitHub Packages |
|
bool |
|
GitHub release |
Attach build artifacts to GitHub release |
Even with all publishing options disabled, the publish.yml workflow still runs the build job and uploads artifacts to GitHub Actions for manual inspection.
File exclusions¶
Files are conditionally excluded based on configuration:
File |
Excluded when |
|---|---|
|
|
|
|
|
|
|
Dependabot, GitHub Actions, or auto-merge is false |
|
|
|
|
|
|