README.rst: Update installing from source section
This section was outdated as we have moved to pyproject.toml. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
parent
49f0a101df
commit
08d0329131
23
README.rst
23
README.rst
|
@ -117,16 +117,11 @@ Installing from Source
|
||||||
~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
You can create and install a wheel package to install west as well.
|
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::
|
To build the west wheel file::
|
||||||
|
|
||||||
# macOS, Linux
|
pip3 install --upgrade build
|
||||||
python3 setup.py bdist_wheel
|
python -m build
|
||||||
|
|
||||||
# Windows
|
|
||||||
py -3 setup.py bdist_wheel
|
|
||||||
|
|
||||||
This will create a file named ``dist/west-x.y.z-py3-none-any.whl``,
|
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.
|
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
|
You can ``pip3 uninstall west`` to remove this wheel before re-installing the
|
||||||
version from PyPI, etc.
|
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/
|
|
||||||
|
|
Loading…
Reference in New Issue