All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Package bitbake-setup for PyPI
@ 2026-01-21  2:47 Rob Woolley
  2026-01-21  2:47 ` [PATCH 1/5] gitignore: ignore Python packaging files Rob Woolley
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Rob Woolley @ 2026-01-21  2:47 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Alexander Kanavin

Adding bitbake-setup to PyPI is helpful to developers who are already
comfortable with using pip in their workflow.

This series makes the necessary changes to build a wheel that may
be uploaded to PyPI.

The build sequence would be:
    git clone https://git.openembedded.org/bitbake

    python3 -m venv venv
    source venv/bin/activate

    python3 -m pip install build
    python3 -m build

This produces a wheel (.whl) file in the dist directory.  This may
be installed using pip.

Testing included "Setting Up the Environment With bitbake-setup" from
the Yocto Project manual. As well as testing the ability to build
using local configurations.

    bitbake-setup init poky-whinlatter.conf.json

For each scenario, a build of the core-image-minimal recipe was built
successfully.

Rob Woolley (5):
  gitignore: ignore Python packaging files
  bitbake-setup: Move into Python module
  bitbake-setup: Add wrapper script for bitbake_setup module
  Add Python packaging files
  bitbake-setup: Add the conditional script stanza

 .gitignore                    |    2 +
 bin/bitbake-setup             | 1108 +-------------------------------
 lib/bitbake_setup/__init__.py |    0
 lib/bitbake_setup/__main__.py | 1110 +++++++++++++++++++++++++++++++++
 pyproject.toml                |    3 +
 setup.cfg                     |   40 ++
 6 files changed, 1160 insertions(+), 1103 deletions(-)
 create mode 100644 lib/bitbake_setup/__init__.py
 create mode 100755 lib/bitbake_setup/__main__.py
 create mode 100644 pyproject.toml
 create mode 100644 setup.cfg

-- 
2.49.0



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-02-12 12:50 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-21  2:47 [PATCH 0/5] Package bitbake-setup for PyPI Rob Woolley
2026-01-21  2:47 ` [PATCH 1/5] gitignore: ignore Python packaging files Rob Woolley
2026-01-21  2:47 ` [PATCH 2/5] bitbake-setup: Move into Python module Rob Woolley
2026-01-21  2:47 ` [PATCH 3/5] bitbake-setup: Add wrapper script for bitbake_setup module Rob Woolley
2026-01-21  9:29   ` [bitbake-devel] " Alexander Kanavin
2026-01-21  2:47 ` [PATCH 4/5] Add Python packaging files Rob Woolley
2026-01-21  9:41   ` [bitbake-devel] " Alexander Kanavin
2026-01-21 10:01     ` Quentin Schulz
2026-01-21 10:07       ` Alexander Kanavin
2026-02-11 14:40       ` Rob Woolley
2026-02-12 11:38         ` Alexander Kanavin
2026-02-12 12:50           ` Quentin Schulz
2026-01-21  9:47   ` Quentin Schulz
2026-01-21 10:01   ` Antonin Godard
2026-01-21  2:47 ` [PATCH 5/5] bitbake-setup: Add the conditional script stanza Rob Woolley
2026-01-21  9:34 ` [bitbake-devel] [PATCH 0/5] Package bitbake-setup for PyPI Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.