RE: [bitbake-devel] [PATCH 2/2] pyproject.toml: add scripts
| Newsgroups | org.openembedded.lists.bitbake-devel |
|---|---|
| Message-ID | <DM8PR12MB543024C7AE039640D4BFC00B8BDA2@DM8PR12MB5430.namprd12.prod.outlook.com> |
Hi Rob, > I tried out using "uv run bitbake" and get the following message: > ERROR: The BBPATH variable is not set and bitbake did not find a > conf/bblayers.conf file in the expected location. > Maybe you accidentally invoked bitbake from the wrong directory? > > I think some of the challenges with packaging bitbake is that the version is tied > to a specific Yocto Project, the sys.path is modified at runtime to find the lib > directory, and that it needs to run in the oe-init-build-env environment. This > could make it difficult to work in this workflow. > > Out of curiosity, were you able to do bitbake builds with this setup? Alas, you're right. 'uv run bitbake' doesn't work for me either as it turns out :(. But 'uv run bitbake-selftest' works, which is very nice. That being said, getting rid of the setuptools stuff means we also give up this ability :/. Thanks, Chris