Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 5 additions & 5 deletions copier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ hosting_provider:
- netlify
- gh-pages

homepage:
type: str
help: "What is the homepage of your project?"
default: "{{ 'https://%s.seedcase-project.org' % github_repo if is_seedcase_project else '' }}"

author_given_name:
type: str
help: "What is your first/given name?"
Expand Down Expand Up @@ -116,3 +111,8 @@ copyright_year:
type: str
default: "{{ copyright_year | default('%Y' | strftime) }}"
when: false

homepage:
type: str
default: "https://{{ github_repo }}.{{ github_user }}.org"
when: false
1 change: 1 addition & 0 deletions template/CITATION.cff.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ keywords:
license: MIT
message: "If you use this Python package, please cite it using these metadata."
repository-code: "https://github.com/{{ github_repo_spec }}"
# TODO: Confirm URL
url: "{{ homepage }}"
1 change: 1 addition & 0 deletions template/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ requires-python = ">=3.12"
dependencies = []

[project.urls]
# TODO: Confirm URL
homepage = "{{ homepage }}"
repository = "https://github.com/{{ github_repo_spec }}"
changelog = "https://github.com/{{ github_repo_spec }}/blob/main/CHANGELOG.md"
Expand Down
Loading