Skip to content

Commit 963d98c

Browse files
committed
fix template license and peotry core req
1 parent 0d41452 commit 963d98c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/fair_python_cookiecutter/template/{{ cookiecutter.project_slug }}

src/fair_python_cookiecutter/template/{{ cookiecutter.project_slug }}/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
name = "{{ cookiecutter.project_slug }}"
66
version = "{{ cookiecutter.project_version }}"
77
description = "{{ cookiecutter.project_description }}"
8-
license = "{{ cookiecutter.project_license }}"
8+
license = {text = "{{ cookiecutter.project_license }}"}
99

1010
authors = [{name = "{{ cookiecutter.author_first_name }} {{ cookiecutter.author_last_name }}", email = "{{ cookiecutter.author_email }}"}]
1111
maintainers = [{name = "{{ cookiecutter.author_first_name }} {{ cookiecutter.author_last_name }}", email = "{{ cookiecutter.author_email }}"}]
@@ -99,7 +99,7 @@ black = "^24.4.2"
9999
{%- endif %}
100100

101101
[build-system]
102-
requires = ["poetry-core"]
102+
requires = ["poetry-core>=2.0"]
103103
build-backend = "poetry.core.masonry.api"
104104

105105
# NOTE: You can run the following with "poetry poe TASK"

0 commit comments

Comments
 (0)