From 65a9b9e370f492bb9af799db336fc05b90331e20 Mon Sep 17 00:00:00 2001 From: catborise Date: Sat, 3 Oct 2026 19:20:48 +0300 Subject: [PATCH] docs(readme): say which packages come from the distro The virtualenv takes libvirt-python and python-ldap from the distro when they satisfy conf/requirements.txt, and builds them otherwise. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 280679d3..1cc70614 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,8 @@ Access the panel at `http://` and noVNC console at port `6080`. The steps below work inside `/srv/webvirtcloud`, which stays root-owned until the final `chown`. Run them from a root shell (`sudo -i`). +The virtualenv is created with `--system-site-packages`: `libvirt-python` and `python-ldap` come from the distro packages when their version satisfies `conf/requirements.txt`; otherwise pip builds them, which needs the `-dev`/`-devel` packages listed below. Everything else, including `lxml`, comes from pip. + ### Secret key `webvirtcloud/settings.py` reads `SECRET_KEY` from the `SECRET_KEY` environment variable, falling back to the `data/secret_key` file (the `data/` directory is gitignored). The steps below generate that file: