comparison doc/installation.rst @ 4113:3f59a2b141cc

doc (installation): update `pipx` instruction and remove `requirements.txt` mention
author Goffi <goffi@goffi.org>
date Wed, 09 Aug 2023 00:48:11 +0200
parents 3b72743b92db
children
comparison
equal deleted inserted replaced
4112:bc60875cb3b8 4113:3f59a2b141cc
41 $ sudo apt-get install python3-dev python3-venv python3-wheel mercurial libxml2-dev libxslt-dev libcairo2-dev libjpeg-dev libgirepository1.0-dev libdbus-1-dev libdbus-glib-1-dev dbus-x11 cmake python3-gpg 41 $ sudo apt-get install python3-dev python3-venv python3-wheel mercurial libxml2-dev libxslt-dev libcairo2-dev libjpeg-dev libgirepository1.0-dev libdbus-1-dev libdbus-glib-1-dev dbus-x11 cmake python3-gpg
42 42
43 Installation With pipx 43 Installation With pipx
44 ~~~~~~~~~~~~~~~~~~~~~~ 44 ~~~~~~~~~~~~~~~~~~~~~~
45 45
46 If you have `pipx`_ installed, you can install the dev version of the backend by simply 46 If you have `pipx`_ installed, you can easily install the development version of the
47 entering:: 47 backend by entering the following command:
48 48
49 $ pipx install --system-site-packages hg+https://repos.goffi.org/libervia-backend#egg=libervia-backend[SVG] 49 .. code-block:: bash
50
51 $ pipx install --system-site-packages hg+https://repos.goffi.org/libervia-backend#egg=libervia-backend[SVG]
50 52
51 Installation With Virtual Environment And pip 53 Installation With Virtual Environment And pip
52 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 54 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53 55
54 Alternatively, you can install a virtual environment, clone the repository, and pip 56 Alternatively, you can install a virtual environment, clone the repository, and pip
64 $ python3 -m venv --system-site-packages libervia 66 $ python3 -m venv --system-site-packages libervia
65 $ source libervia/bin/activate 67 $ source libervia/bin/activate
66 $ pip install -U pip wheel 68 $ pip install -U pip wheel
67 $ hg clone https://repos.goffi.org/libervia-backend 69 $ hg clone https://repos.goffi.org/libervia-backend
68 $ cd libervia-backend 70 $ cd libervia-backend
69 $ pip install -r requirements.txt 71 $ pip install -e .
70 72
71 Don't worry if you see the following message, Libervia should work anyway:: 73 Don't worry if you see the following message, Libervia should work anyway::
72 74
73 Failed building wheel for <some_package_name> 75 Failed building wheel for <some_package_name>
74 76