Skip to content

Commit ac93621

Browse files
committed
uv migration - fix a few more issues
1 parent 0bf9a53 commit ac93621

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ dependencies = [
1313
"toml>=0.10",
1414
"python-dotenv",
1515
]
16-
name = "project-name"
17-
version = "0.0.1"
18-
description = ""
19-
readme = "README.md"
2016

2117
[build-system]
2218
requires = ["hatchling"]
@@ -116,7 +112,7 @@ dev = [
116112
]
117113

118114
[template]
119-
version = "1.0.0" # optimize pyproject dependencies
115+
version = "1.0.1" # optimize pyproject dependencies
120116
url = "https://github.com/calmmage/python-project-template.git"
121117
author = "Petr Lavrov <me@petrlavrov.com>"
122118
description = "A template for creating a bot using calmapp and bot-lib"

src/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
from pathlib import Path
1111

1212
path = Path(__file__).parent.parent / "pyproject.toml"
13-
__version__ = toml.load(path)["tool"]["poetry"]["version"]
13+
__version__ = toml.load(path)["project"]["version"]
1414
del toml, Path, path

0 commit comments

Comments
 (0)