ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #17576
Packaging Python app as click package
I'm trying to package a Python app as a click package, what do I need
to make this work?
Is it just a case of including the interpreter and libraries as part of
the package, and setting my .desktop file to 'Exec=./python myapp.py'
(assuming the Python binary to be in the root of the click package)?
Also, what's the easiest way to get hold of the armhf binaries? I've
been testing by just copying the files out of /usr/bin/python3 and
/usr/lib/python3/ but obviously the binaries are amd64 on my laptop, so
how would I get these files for armhf? Maybe copy them out of a VM?
And, is the installed app location read-only? Specifically, is it
better for me to include the __pycache__ in the package for
performance, or will it be able to create it's own when it is run?
(This saves about 6-7% of the package size)
Attachment:
signature.asc
Description: This is a digitally signed message part
Follow ups