Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,18 @@ keywords:
help: "Keywords to help categorize the project (e.g., on PyPI)."
default: "acoustics,pyfar"

python_versions:
when: false
type: yaml
default: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]

minimum_python_version:
type: str
help: "The minimum Python version required"
choices:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
choices: >
{% for v in python_versions %}
- "{{ v }}"
{% endfor %}

_subdirectory: "template"

Expand Down Expand Up @@ -95,9 +97,8 @@ valid_python_versions:
when: false
type: yaml
default: >
{% set versions = ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] %}
{% set min_index = versions.index(minimum_python_version) %}
{{ versions[min_index:] }}
{% set min_index = python_versions.index(minimum_python_version) %}
{{ python_versions[min_index:] }}
Comment on lines +100 to +101
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really nice


pypi_license_classifiers_list:
when: false
Expand Down