feat: load version dynamically from pyproject.toml

- Add _get_version_from_pyproject() function to config.py
- APP_VERSION now uses default_factory to load from pyproject.toml
- Add pyproject.toml to Docker build for version detection
- Add LIBRARY_DESK configuration settings

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-11 21:34:23 +01:00
co-authored by Claude Opus 4.5
parent ebac19ba6e
commit 09e468e7f8
2 changed files with 39 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ WORKDIR /app
RUN apt-get update && apt-get install -y curl \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
COPY requirements.txt pyproject.toml ./
RUN pip install --no-cache-dir -r requirements.txt
COPY src/ ./src/