Re: setup.py no such file or directory
Bel Hadj Salem Talel <bhstalel@...>
HI, I'm trying to make a recipe for wirepas-gateway and wirepas-messaging, let's take wirepas-messaging for an example , it is so easy : I'm downloading the https://github.com/wirepas/backend-apis/tree/master/wrappers/python , because https://github.com/wirepas/backend-apis does not contain the wirepas-messaging package sources directly . So I'm zipping the sources of https://github.com/wirepas/backend-apis/tree/master/wrappers/python and adding it with devtool After that when I build the recipe it build successfully after fixing the do_package with adding FILES_${PN} = "/usr/share/*" So I checked the tmp/work/.../image and the package is correctly installed into the image destination. Now when I do devtool finish , it copy paste the same recipe .bb file with the same SRC_URI, now when I try to build it I get the error of : /media/talel/data/menzu-zeus/menzu/tmp/work/aarch64-poky-linux/python3-wirepas-messaging/1.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3: can't open file 'setup.py': [Errno 2] No such file or directory The same SRC_URI: SRC_URI = "file:///home/talel/Desktop/backend-apis/wrappers/python/wirepas-messaging.zip" What is the differnece ? I can't understand. Thanks, Talel On Fri, Sep 25, 2020 at 5:00 PM Quentin Schulz <quentin.schulz@...> wrote: On Fri, Sep 25, 2020 at 08:12:11AM -0700, Bel Hadj Salem Talel wrote: |
|