Packaging for Mac OS
Apple is selling PCs at an extraordinary rate. In fact, there are a huge number using Mac OS. So, we should have a great market to distribute our apps. 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 be run without installing Kivy or Python on the Mac.
Getting ready
First, you need to run OS X and should have installed the Kivy.app version. 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 different ways to do this, but for our purpose, the best is to download the source from https://pypi.python.org/pypi/PyInstaller/2.1.
Decompress the package in the directory ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access