Recently I installed Ubuntu Touch on my phone and, as with most alternative OSs, I realized that some of my most used / necessary apps weren't present.
There are a multitude123 of resources online to write apps for UT, but I kept hitting issues:
- notes
python -> pyotherside
~/.clickable/home/
is mounted to /home/phablet
in Desktop Mode.
To run pip install: A custom target is what you are looking for: https://cmake.org/cmake/help/latest/command/addcustomtarget.html
https://pypi.org/project/pykeepass/ -> SLOW
-> try rust -> https://github.com/PyO3/pyo3/ https://aeshirey.github.io/code/2020/12/01/returning-mixed-compound-types-from-rust-with-pyo3.html -> struggle but fast:
Rust crap: 134 entries
real 0m0,231s -> export RUSTFLAGS='-C target-cpu=native' real 0m0,079s
python crap
real 0m3,111s
Rust-python-crap time python -c 'import pykeepassrs; pykeepassrs.fnprinter()' real 0m0,089s
phablet@ubuntu-phablet:~$ python3 DONT_COMMIT.py 134 PyKeePass 8.56 PyKeePass-Rs 2.41
-> +AES phablet@ubuntu-phablet:~$ python3 DONT_COMMIT.py 134 PyKeePass 8.56 PyKeePass-Rs 0.36
-> try to pkg -> fail,