Configuration

Contents

Configuration#

COPIER_TEMPLATE_DEFAULTS#

Environment variable consumed by the package CLI wrapper. When set to 1, python-package-copier-template runs copy mode with defaults.

GH_TOKEN#

Token used by the GitHub CLI (gh) for authenticated operations in scripts or CI. Prefer this for non-interactive gh usage.

GITHUB_TOKEN#

Ephemeral token automatically provided by GitHub Actions. Its effective permissions are controlled by workflow/job permissions blocks.

DEMO_REPO_TOKEN#

Repository secret used by this template repository’s release workflow to push updates to the demo repository mgaitan/yet-another-demo. Use a fine-grained token with Contents: Read and write on that repository.

Template Choices#

copyright_license controls generated package license metadata, the LICENSE file, and license badges. Public repositories default to BSD-3-Clause; explicitly private repositories default to none, which omits license metadata and does not generate a LICENSE file. Local copies that skip GitHub repository creation keep the licensed BSD-3-Clause default.