Skip to content

Commit 732785a

Browse files
kartbendanieldegrasse
authored andcommitted
doc: develop: gsg: consolidate python3 install instructions for ubuntu
- Installing python3-venv should be done right when all dependencies are installed. - Installing python3-venv is enough to pull wheel, setuptools (python3-setuptools-whl), and pip (python3-pip-whl) so that they are available in the venv, so reduce the list of packages to install accordingly. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
1 parent 6ddf0f4 commit 732785a

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

doc/develop/getting_started/index.rst

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,8 @@ The current minimum required version for the main dependencies are:
7878
.. code-block:: bash
7979
8080
sudo apt install --no-install-recommends git cmake ninja-build gperf \
81-
ccache dfu-util device-tree-compiler wget \
82-
python3-dev python3-pip python3-setuptools python3-tk python3-wheel xz-utils file \
83-
make gcc gcc-multilib g++-multilib libsdl2-dev libmagic1
81+
ccache dfu-util device-tree-compiler wget python3-dev python3-venv python3-tk \
82+
xz-utils file make gcc gcc-multilib g++-multilib libsdl2-dev libmagic1
8483
8584
.. note::
8685

@@ -204,12 +203,6 @@ chosen. You'll also install Zephyr's additional Python dependencies in a
204203

205204
.. group-tab:: Ubuntu
206205

207-
#. Use ``apt`` to install Python ``venv`` package:
208-
209-
.. code-block:: bash
210-
211-
sudo apt install python3-venv
212-
213206
#. Create a new virtual environment:
214207

215208
.. code-block:: bash

0 commit comments

Comments
 (0)