Skip to content Skip to sidebar Skip to footer

How Can I Import An Package Into A Kivy App Using Buildozer

I have created a kivy app in package using the structure: . ├── bin │ └── myapp-0.1-debug.apk ├── buildozer.spec └── kivy_app ├── __init__.py

Solution 1:

Thanks to @inclement I have a solution. I have created a symlink to python_pkg and placed it in the kivy_app directory. The structure of the application is now

.
├── bin
│   └── myapp-0.1-debug.apk
├── buildozer.spec
└── kivy_app
    ├── __init__.py
    ├── __main__.py
    ├── main.py
    ├── python_pkg -> /home/jeff/projects/kivy_pkg/python_pkg/python_pkg
    └── source
        └── kivy_app.py

The element python_pkg is not needed in the requirements line in buildozer.spec and I have removed it.


Post a Comment for "How Can I Import An Package Into A Kivy App Using Buildozer"