Open SteveeH opened 2 years ago
What I'm currently doing is placing the wheels somewhere on the phone (eg. next to main.py
), and then adding them to the path explicitly (eg. as sys.path.append(str(Path(__file__).parant / "cbor2-5.4.6-py3-none-any.whl") + '/')
). The trailing slash matters; without it, the import wouldn't go through zipimport and thus fail.
It'd be great if a requirements.txt could be placed next to android.txt (and installed from PyPI automatically), but at least this is a workaround.
Hi,
can someone tell me, how I should include external packeges for project?? For example in my app i want to use kivymd, pyjnius, etc.
Thanks for answering Steve