Adding python packages with pipoe

I thought I’d also give a mention to pipoe as it’s a great tool I’d like to share. So first of all, let’s install it:

If you see these warnings, you will see that when you run pipoe, you get a command unrecognised. This I found often when doing a fresh install of pipoe, so let’s add this to path:

So now, using the documentation let’s create a package which installs a python module from pypi including it’s dependencies and for python3:

Here is what I get:

Now, in my layer, I’ll create another recipe folder called recipe-support with a subdirectory called python.

Then we can build our package by:

bitbake python3-pathpy2

Now similar to above, we can then install the package after a package-index.

Happy hacking!

Leave a Reply

All fields marked with an asterisk (*) are required