uv installs to ~/.local/bin which is not in PATH for systemd services, and keeping uv updated on Ubuntu requires manual steps outside of apt. Switch to a plain Python venv with pip-tools for dependency locking. - Replace uv venv/sync with python3 -m venv --system-site-packages - Generate requirements.txt with pip-compile from pyproject.toml - Update service ExecStart to use .venv/bin/python directly - Remove uv.lock and [tool.uv] from pyproject.toml - Update README to document venv+pip-tools workflow
12 lines
285 B
TOML
12 lines
285 B
TOML
[project]
|
|
name = "matrix-paperless-ingest"
|
|
version = "0.1.0"
|
|
description = "Ingest PDF and JPEG files from a Matrix room into Paperless-ngx"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"matrix-nio[e2e]>=0.24",
|
|
"httpx>=0.27",
|
|
"python-dotenv>=1.0",
|
|
"aiosqlite>=0.20",
|
|
]
|
|
|