Commit 732785ae authored by Benjamin Cabé's avatar Benjamin Cabé Committed by Daniel DeGrasse
Browse files

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: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent 6ddf0f48
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -78,9 +78,8 @@ The current minimum required version for the main dependencies are:
         .. code-block:: bash

            sudo apt install --no-install-recommends git cmake ninja-build gperf \
              ccache dfu-util device-tree-compiler wget \
              python3-dev python3-pip python3-setuptools python3-tk python3-wheel xz-utils file \
              make gcc gcc-multilib g++-multilib libsdl2-dev libmagic1
              ccache dfu-util device-tree-compiler wget python3-dev python3-venv python3-tk \
              xz-utils file make gcc gcc-multilib g++-multilib libsdl2-dev libmagic1

         .. note::

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

   .. group-tab:: Ubuntu

      #. Use ``apt`` to install Python ``venv`` package:

         .. code-block:: bash

            sudo apt install python3-venv

      #. Create a new virtual environment:

         .. code-block:: bash