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 ...

Get Kivy Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.