← Back to team overview

ubuntu-phone team mailing list archive

Re: Python3 in project target

 

Hi,

is there any documentation on how to bundle it with a click package?

Am 05.02.2016 um 23:49 schrieb Neil McPhail:
On Friday, 5 February 2016 18:14:46 GMT, Ferdinand Holzner wrote:
Hi there,

i played around with the Ubuntu SDK and tried to start a python script via .desktop file. I've got this error:

"Could not find python3 in the project targets"

The phone itself seems to have python3 installed in /usr/bin. I guess it would theoretically possible to start such a script or python based app, without using pyotherside. Only the SDK needs to support it or maybe there is another solution for this.


Hi

A confined click package will probably not be able to "see" the system python install, just as it cannot see the usual shell utilities such as sed or grep. The apparmor restrictions are quite limiting. Python will work if you bundle it in your click package.

NMP





Follow ups

References