Sync project metadata with pyproject.toml

Updated scripts and backend to dynamically retrieve project name and version from `pyproject.toml`. This ensures consistent metadata across the OpenAPI client generation and the FastAPI application.
This commit is contained in:
GotthardG 2024-12-17 11:43:09 +01:00
parent 8fad28aa91
commit 7d6168a197

View File

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "aareDB"
version = "0.1.0a1"
version = "0.1.0a2"
description = "Backend for next gen sample management system"
authors = [{name = "Guillaume Gotthard", email = "guillaume.gotthard@psi.ch"}]
license = {text = "MIT"}
@ -25,5 +25,11 @@ dependencies = [
"pydantic[email]",
"mysqlclient~=2.1.1",
"python-multipart~=0.0.6",
"uvicorn==0.23.1"
]
"uvicorn==0.23.1",
"python-dateutil~=2.8.2"
]
[tool.pytest.ini_options]
norecursedirs = ["backend/python-client"]
# Or limit files explicitly
python_files = ["test_auth.py"]