O'Reilly logo

Kivy Cookbook by Hugo Solis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Packaging for Windows

Nowadays, Microsoft Windows remains one of the most used operating systems in the world. So, it is convenient to have the possibility of distributing our apps to these users. In this recipe, we will make a package of one complex app that uses three files. This package will be a single file that can run without installing Kivy or Python on a Windows machine.

Getting ready

First, you need a machine or a virtual machine running Microsoft Windows with the Kivy portable version installed. You can check the recipe Installing Kivy in Chapter 1, Kivy and the Kv Language. Also, you need to install the PyInstaller package. There are several methods to do this, but, for our purpose, the best way is to download source files from https://pypi.python.org/pypi/PyInstaller/2.1 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required