feat: add alembic, init common package

This commit is contained in:
tao.chen
2026-07-29 14:07:01 +08:00
parent 233dc90efe
commit 98b0be11ad
16 changed files with 1287 additions and 796 deletions
+11 -2
View File
@@ -7,7 +7,12 @@ authors = [
{ name = "tao.chen", email = "93983997+taochen-ct@users.noreply.github.com" }
]
requires-python = ">=3.12"
dependencies = []
dependencies = [
"alembic>=1.18.5",
"pydantic-settings>=2.14.2",
"pymysql>=1.2.0",
"sqlalchemy>=2.0.51",
]
[build-system]
requires = ["hatchling"]
@@ -15,4 +20,8 @@ build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/common"]
packages = ["src/common"]
[[tool.uv.index]]
url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
default = true