From 08d03291311c116d4af931917d6c9d48b780d382 Mon Sep 17 00:00:00 2001 From: Pieter De Gendt Date: Thu, 19 Sep 2024 11:01:05 +0200 Subject: [PATCH] README.rst: Update installing from source section This section was outdated as we have moved to pyproject.toml. Signed-off-by: Pieter De Gendt --- README.rst | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/README.rst b/README.rst index ca554786..372b82d5 100644 --- a/README.rst +++ b/README.rst @@ -117,16 +117,11 @@ Installing from Source ~~~~~~~~~~~~~~~~~~~~~~ You can create and install a wheel package to install west as well. -The `wheel`_ Python package is required to do this. See "Installing Wheel" -below if you need to do this. To build the west wheel file:: - # macOS, Linux - python3 setup.py bdist_wheel - - # Windows - py -3 setup.py bdist_wheel + pip3 install --upgrade build + python -m build This will create a file named ``dist/west-x.y.z-py3-none-any.whl``, where ``x.y.z`` is the current version in setup.py. @@ -137,17 +132,3 @@ To install the wheel:: You can ``pip3 uninstall west`` to remove this wheel before re-installing the version from PyPI, etc. - -Installing Wheel -~~~~~~~~~~~~~~~~ - -On macOS and Windows, you can install wheel with:: - - pip3 install wheel - -That also works on Linux, but you may want to install wheel from your -system package manager instead -- e.g. if you installed pip from your -system package manager. The wheel package is likely named something -like ``python3-wheel`` in that case. - -.. _wheel: https://wheel.readthedocs.io/en/latest/