diff --git a/docs/advanced/index.md b/docs/advanced/index.md index 11a4801..aba54ce 100644 --- a/docs/advanced/index.md +++ b/docs/advanced/index.md @@ -57,3 +57,17 @@ Next you need to copy the `packages` and the `vendor` directory to the machine w pip install --upgrade --no-index --find-links /path/to/packages/ pip setuptools wheel pip install --upgrade --no-index --find-links /path/to/packages/ rdmo[allauth,postgres,gunicorn] ``` + +## Use uv to install a custom Python version + +If you want to use a different Python version than your Linux distribution provides, you can use [uv](https://github.com/astral-sh/uv) to set it up. Note that this will only work for the Gunicorn setup. First install `uv`: + +```bash +curl -LsSf https://astral.sh/uv/install.sh | sh +``` + +Then you can create a virtual environment with the desired Python version using, e.g.: + +```bash +uv venv env --seed --python 3.12 +``` diff --git a/docs/installation/prerequisites.md b/docs/installation/prerequisites.md index b893744..eddd401 100644 --- a/docs/installation/prerequisites.md +++ b/docs/installation/prerequisites.md @@ -29,7 +29,9 @@ We recommend to install the prerequisites using the packaging system of your dis texlive-xetex-def texlive-xltxtra librsvg2-tools ``` -On RHEL/CentOS SELinux is enabled by default. This can result in unexpected errors, depending on where you store the RDMO source code on the system. Some guidance on how to configure SELinux is given at [here](../advanced/index.html#selinux). +On RHEL/CentOS SELinux is enabled by default. This can result in unexpected errors, depending on where you store the RDMO source code on the system. Some guidance on how to configure SELinux is given at [here](../advanced/index). + +If the Python version on your system is no longer supported by RDMO, we strongly recommend that you upgrade your Linux distribution, as it is likely to be out of date. If you decide otherwise, it is relatively easy to install a different Python version using [uv](https://github.com/astral-sh/uv). Instructions can be found [here](../advanced/index). ## macOS