
Refactored database and server configuration to handle environments (dev, test, prod) explicitly, including tailored database setup and SSL management. Separated slot and sample data loading for better control during initialization. Improved environment variable usage and error handling for production certificates.
36 lines
937 B
TOML
36 lines
937 B
TOML
[build-system]
|
|
requires = ["setuptools>=42", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "aareDB"
|
|
version = "0.1.0a3"
|
|
description = "Backend for next gen sample management system"
|
|
authors = [{name = "Guillaume Gotthard", email = "guillaume.gotthard@psi.ch"}]
|
|
license = {text = "MIT"}
|
|
dependencies = [
|
|
"SQLAlchemy~=2.0.36",
|
|
"fastapi~=0.115.4",
|
|
"pydantic~=2.9.2",
|
|
"openpyxl~=3.1.5",
|
|
"typing_extensions~=4.12.2",
|
|
"PyJWT~=2.8.0",
|
|
"qrcode~=7.3.1",
|
|
"pillow~=10.4.0",
|
|
"reportlab~=4.2.5",
|
|
"cryptography~=44.0.0",
|
|
"pytest~=7.4.1",
|
|
"pytest-cov~=4.1.0",
|
|
"httpx~=0.24.1",
|
|
"pydantic[email]",
|
|
"mysqlclient~=2.1.1",
|
|
"python-multipart~=0.0.6",
|
|
"uvicorn==0.23.1",
|
|
"python-dateutil~=2.8.2",
|
|
"tomli>=2.0.1",
|
|
"python-dotenv"
|
|
]
|
|
[tool.pytest.ini_options]
|
|
norecursedirs = ["backend/python-client"]
|
|
# Or limit files explicitly
|
|
python_files = ["test_auth.py"] |