← Back to team overview

ubuntu-phone team mailing list archive

Re: Python3 in project target

 

On Mon, February 8, 2016 11:22 am, Ferdinand Holzner wrote:
> Hi,
>
> is there any documentation on how to bundle it with a click package?
>

Hello again.

You may find the "Runtime Environment" section of
https://developer.ubuntu.com/en/start/platform/guides/app-confinement/
helpful. The documentation is a bit terse, but, basically, you bundle any
binaries (such as python itself) under lib/gnu-triplet/bin, and any
required libraries under lib/gnu-triplet/ . For python, you'll also have
to bundle a lot of the python runtime, and maybe set some environment
variables to point to that. My "bg1" app on the Store bundles a lot of
python with it. Perhaps not the most elegant example, but should be worth
a look to get you started.

Good luck

NMP



References