Packaging for Linux

Finally, let's learn how to generate packages for Linux. In this recipe, we are going to make a package with a complex app that uses three files. This package will be a single file that can run without installing Kivy or Python in Linux.

Getting ready

First, you need to run a Linux distro and install Kivy, but you will need the development version. You can check how to do this at http://kivy.org/docs/installation/installation.html#installation-devel.

Also, you need to install the PyInstaller package. There are different ways to do it, but for our purpose, the way best is to download from the source https://pypi.python.org/pypi/PyInstaller/2.0.

Decompress the package in the directory of your preference. Actually, we are going to ...

Get Kivy Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.