fix: default bridge and tests to project venv Python

Use .venv/bin/python3 by default, with PYTHON_PATH as an override, and update the setup script and docs to match the new virtualenv-based workflow.
This commit is contained in:
matmoul committed 2026-05-10 00:00:56 +02:00
1 parent 0d25e52ebc
commit 4cb568c326
5 files changed
+28 -65

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ export class KeePassDatabase {
constructor(
private readonly path: string,
private readonly options: KeePassOpenOptions,
private readonly pythonPath = "python3",
private readonly pythonPath = process.env.PYTHON_PATH ?? ".venv/bin/python3",
private readonly bridgePath = new URL("./python/bridge.py", import.meta.url)
) {}