Re: [docs] [PATCH 1/2] brief-yoctoprojectqs/index.rst: use pip to install bitbake-setup
"Antonin Godard" <[email protected]>
| Newsgroups | org.yoctoproject.lists.docs |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Tue Aug 11, 2026 at 12:22 PM CEST, Alexander Kanavin via lists.yoctoproject.org wrote: > On Tue, 11 Aug 2026 at 11:56, Antonin Godard via > lists.yoctoproject.org > <[email protected]> wrote: >> - $ git clone https://git.openembedded.org/bitbake >> + $ python3 -m venv --clear ./bitbake-setup-venv >> + $ . ./bitbake-setup-venv/bin/activate >> + $ pip install bitbake-setup > > It would be good to also mention how to update to latest release if > bitbake-setup is already installed (bitbake-setup will evolve with new > features and there may be failures due to outdated installations from > pip): > > $ pip install -U bitbake-setup > (pip does not have a separate command for package updates > unfortunately, so it's not intuitive). Hmm, as this is a quick build document, I think most people won't have bitbake-setup already installed and our instructions show how to install it in a new virtual environment anyway, however... [...] >> + $ git clone https://git.openembedded.org/bitbake ./bitbake >> + $ ./bitbake/bin/bitbake-setup ... > > The bitbake-setup chapter in bitbake manual needs similar fixes I think? ...I will mention that in the bitbake user manual, so in a separate patch. :) >> + The ``bitbake-setup`` tool can also be used from the :term:`BitBake` >> + repository directly: > > ... is developed and maintained in :term:`BitBake` repository, and so > can be used directly from there: Looks, good, will update in v2. Thanks! Antonin