File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ]
2218requires = [" 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
120116url = " https://github.com/calmmage/python-project-template.git"
121117author = " Petr Lavrov <me@petrlavrov.com>"
122118description = " A template for creating a bot using calmapp and bot-lib"
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments