Re: setup.py no such file or directory
Quentin Schulz
On Fri, Sep 25, 2020 at 08:12:11AM -0700, Bel Hadj Salem Talel wrote:
Hi Community,If your recipe is in: /media/talel/data/multigate/multigate/meta-wirepas/recipes-wirepas/wirepas-gateway/ and wp-gateway.zip is in: /media/talel/data/multigate/multigate/meta-wirepas/recipes-wirepas/wirepas-gateway/files/wirepas_gateway-1.4.0 just put: SRC_URI = "file://wirepas_gateway-${PN}/wp-gateway.zip" I'd suggest putting your .zip file in: /media/talel/data/multigate/multigate/meta-wirepas/recipes-wirepas/wirepas-gateway/wirepas_gateway-1.4.0 (note the missing files directory), in which case, your SRC_URI would be: SRC_URI = "file://wp-gateway.zip" Also... This looks like you're taking code from https://github.com/wirepas/gateway ? Have you thought of using the git repo directly? e.g. devtool add python3-wirepas-gateway https://github.com/wirepas/gateway.git? It'll use the latest commit in master but it's changeable, and it is way more maintainable IMO compared to a tarball you manually download every now and then. Please do NOT use _ in your recipe filename, so rename your recipe to python3-wirepas-messaging. Please answer to all when you're answering back to me or anyone in this community, so people could benefit from the solution or discussion around the issue, Quentin |
|