Skip to content

Commit 9b7cc91

Browse files
Use single-source static version in pyproject.toml
Co-Authored-By: Daniel Roy Greenfeld <[email protected]>
1 parent 78471d2 commit 9b7cc91

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "{{cookiecutter.project_name.lower().replace(' ', '-')}}"
7+
version = "{{ cookiecutter.version }}"
78
description = "{{cookiecutter.project_short_description}}"
89
readme = "README.md"
910
authors = [
@@ -21,8 +22,6 @@ dependencies = [
2122
]
2223
requires-python = ">= 3.10"
2324

24-
dynamic = ["version"]
25-
2625
[project.optional-dependencies]
2726
test = [
2827
"coverage", # testing

{{cookiecutter.project_slug}}/src/{{cookiecutter.project_slug}}/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22

33
__author__ = """{{ cookiecutter.full_name }}"""
44
__email__ = '{{ cookiecutter.email }}'
5-
__version__ = '{{ cookiecutter.version }}'

0 commit comments

Comments
 (0)