Skip to content

Commit 41fcf1a

Browse files
committed
fix: update pyproject.toml to reference actual cookiecutter variables
1 parent 5d80657 commit 41fcf1a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
[project]
22
name = "{{ cookiecutter.package_name }}"
33
version = "0.1.0"
4-
description = "{{ cookiecutter.project_description }}"
4+
description = "{{ cookiecutter.package_name }}"
55
authors = [
66
{ name = "{{ cookiecutter.author_name }}", email = "{{ cookiecutter.author_email }}" },
77
]
88
license = { text = "{{ cookiecutter.license }}" }
99
readme = "README.md"
10-
requires-python = ">={{ cookiecutter.python_version }},<4.0"
10+
requires-python = ">={{ cookiecutter.min_python_version}},<4.0"
1111

1212
keywords = [
13-
"{{ cookiecutter.project_slug.replace('_', '-') }}",
13+
"{{ cookiecutter.project_name.replace('_', '-') }}",
1414
]
1515

1616
classifiers = [
@@ -72,10 +72,6 @@ requires = [
7272
build-backend = {% if cookiecutter.add_rust_extension == 'y' -%} "maturin" {% else -%} "setuptools.build_meta" {% endif %}
7373

7474

75-
# --- Tool-specific configurations ---
76-
# Configuration details are often in separate files (.ruff.toml, pyrightconfig.json)
77-
# Link to their documentation for full config options.
78-
7975
[tool.uv]
8076
# See https://docs.astral.sh/uv/reference/configuration/
8177

0 commit comments

Comments
 (0)