Skip to content

Commit 5afd0bc

Browse files
authored
Update pyproject to dynamic version number (#57)
* Optimize document layout and content * Fix docs errors * Fix lint * Update pyproject to dynamic version number
1 parent edc67d4 commit 5afd0bc

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

pyproject.toml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
[project]
22
name = "sqlalchemy-crud-plus"
33
description = "Asynchronous CRUD operation based on SQLAlchemy2 model"
4-
version = '1.10.0'
54
authors = [
65
{ name = "Wu Clan", email = "[email protected]" },
76
]
8-
dependencies = [
9-
"sqlalchemy>=2.0.0",
10-
"pydantic>=2.0",
11-
]
7+
readme = "README.md"
8+
license = { text = "MIT" }
9+
requires-python = ">=3.10"
10+
dynamic = ['version']
1211
classifiers = [
1312
"License :: OSI Approved :: MIT License",
1413
"Programming Language :: Python :: 3 :: Only",
1514
"Programming Language :: Python :: 3.10",
1615
"Programming Language :: Python :: 3.11",
1716
"Programming Language :: Python :: 3.12",
1817
]
19-
requires-python = ">=3.10"
20-
readme = "README.md"
21-
license = { text = "MIT" }
18+
dependencies = [
19+
"sqlalchemy>=2.0.0",
20+
"pydantic>=2.0",
21+
]
2222

2323
[project.urls]
2424
homepage = "https://github.com/fastapi-practices/sqlalchemy-crud-plus"
@@ -62,6 +62,12 @@ docstring-code-format = true
6262
[tool.pytest.ini_options]
6363
asyncio_default_fixture_loop_scope = "session"
6464

65+
[tool.hatch.build.targets.wheel]
66+
packages = ["sqlalchemy_crud_plus"]
67+
68+
[tool.hatch.version]
69+
path = "sqlalchemy_crud_plus/__init__.py"
70+
6571
[build-system]
6672
requires = ["hatchling"]
6773
build-backend = "hatchling.build"

uv.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)