How to Import Python library to clickable?
GMNX last edited by
Hello, I'm new to ubuntu touch, and want to learn it as my Student project.
So I installed Clickable and create example project like other newborn programmer do, "Hello World"
Now it run smoothly with command clickable --desktop
I want to improve it step by step. The first step that I want is import another python library into my .py
but it got this
can you tell me the proper way to import python module and include it when build the click file?
hummlbach last edited by
I think @TimSueberkrueb is using getlibs.py for that... Maybe this helps you: https://github.com/timsueberkrueb/ubports-gettogether/blob/master/timsueberkrueb/pyotherside/presentation.md
GMNX last edited by GMNX
Clickable generate project files like this:
*- clickable.json *- hello_world.desktop.in *- CMakeLists.txt *- hello_world.apparmor *- manifest.json.in assets/ - logo.svg build/ * - #this where you get the .click file po/ - hello_world.gmnx.pot - CMakeLists.txt python-lib/ - #shared object for target platform (.so file). there is python and pyotherside in this folder qml/ - hello_world.py #the python logic is here - Main.qml
it's different structure from the link that you shared
I can't find script folder and get_libs.py