Project and dependencies are different depending on the host and target platform.
sudo make system_dependencies/linux
This Makefile
installs (apt
) system dependencies.
The rest of the dependencies are Python packages and can be installed in a virtualenv via:
make virtualenv
Then run the project with:
make run
You can also take a look at .travis.yml and dockerfiles/Dockerfile-linux to see how it's being automated in continuous integration testing.
To be able to build the project for Android from Ubuntu, follow python-for-android official guide (for core dependencies): https://python-for-android.readthedocs.io/en/latest/quickstart/#installing-dependencies
Before installing additional dependencies.
sudo make system_dependencies/android
Check .travis.yml or dockerfiles/Dockerfile-android to see Travis automated build in Docker.
Build zlib in 32-bit:
echo 'sys-libs/zlib abi_x86_32' >> /etc/portage/package.use
emerge -1av sys-libs/zlib
Install buildozer outside the virtualenv:
pip install --user buildozer