NFJones / pipoe

Generate python bitbake recipes!
MIT License
21 stars 22 forks source link

Suggestion: Use the pypi bbclass from poky #4

Closed DunderRoffe closed 4 years ago

DunderRoffe commented 5 years ago

Hi,

I fiddled with program similar pipoe some year ago that I never had the time to finish. So when I sat down today and looked through my code I stumbled upon this which is way more refined.

Have you considered using the pypi class that is defined in poky? It solves some of things for you :) http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/pypi.bbclass

In case you wanna try it out you can consider this PR. Although this is not tested I merely tweaked the code to make it generate recipes that looks like the recipes in meta-python. Specifically I tested with generating a flask recipe http://cgit.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python