raspberry pi – Cross-compile Python code into deb package for distribution (host: Ubuntu x86-64, target: Raspbian ARM)
I have written a group of Python modules and scripts I use for some system checks on several RPIs I am running. Now it is getting hard to pull and update on all of them, and I wanted to make a nice debian package so I can distribute these.
Does anyone have a solution to this or pointer where I could look?
I have found how to with pyInstaller
and dpkg
make a package on my machine (Ubuntu x86-64), but I am having problems cross-compiling it for ARM of RPi.
Also I can cross-compile C++ code easily as the compiler can do it, but with Python I am not sure where to find the option?
I could do it on the RPi itself, but I would really like to do it on my laptop and keep all the dev environment there.
Read more here: Source link