robseb / PiP2Bitbake

Script to create a Bitbake recipe for Python pip (PyPI) Packages to be embedded within the Yocto Project
MIT License
43 stars 12 forks source link

support whl files #2

Open FransSorama opened 3 years ago

FransSorama commented 3 years ago

nice script!

It wouuld be nice if this would also support .whl files. E.g. as in https://pypi.org/project/bosdyn-client/#modal-close

robseb commented 3 years ago

Sure, I could not find any solution to implement it in a simple way. If you have an idea please try it and set a merge request.

FransSorama commented 3 years ago

I'm at the moment trying to do this with a hand-carved recipe following this suggestion: https://stackoverflow.com/questions/48660051/yocto-recipe-python-whl-package

Not sure if I have that working yet and not sure if my whl file needs nativesdk. I'm a bit of a n00b when it comes to python

0xAl3xH commented 1 year ago

@FransSorama Any luck with recipes to install a whl with yocto? @robseb what is the biggest hurdle in implementing it? I was under the assumption that installing a whl would be at least as straightforward as installing from source?