weblate/docs/admin/install/steps/install-python.rst
Michal Čihař 8a492512c4
docs: update Python environment documentation (#18108)
Use "Python environment" instead of a bit cryptic "virtualenv". This
also matches how uv documents it.
2026-02-19 14:21:58 +01:00

35 lines
732 B
ReStructuredText

Python modules
++++++++++++++
.. hint::
We're installing Weblate in a separate Python environment.
#. Create the Python environment for Weblate:
.. code-block:: sh
uv venv ~/weblate-env
#. Activate the Python environment for Weblate:
.. code-block:: sh
. ~/weblate-env/bin/activate
#. Install Weblate including all optional dependencies:
.. code-block:: sh
# Install Weblate with all optional dependencies
uv pip install "weblate[all]"
Please check :ref:`python-deps` for fine-tuning of optional dependencies.
.. seealso::
* `Using Python environments`_
* :ref:`troubleshoot-pip-install`
.. _Using Python environments: https://docs.astral.sh/uv/pip/environments/