mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-04-26 18:40:05 +08:00
Use "Python environment" instead of a bit cryptic "virtualenv". This also matches how uv documents it.
35 lines
732 B
ReStructuredText
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/
|