Chapter 15. Packaging with setuptools and cx_Freeze
Word of your application has spread throughout the ABQ corporation, and you've been asked to provide it for use at other facilities. Unfortunately, running and installing the application is not a very friendly process; you've been installing it through a tedious and error-prone copy-and-paste procedure, and users launch it from a batch or shell script you create by hand on each machine. You need to package your application in a professional way that makes it easy to install and run across Windows, macOS, and Linux.
In this chapter, you will learn the following topics:
- Creating Python source and wheel packages using
setuptools
- Creating basic standalone binary and installer packages using
cx_Freeze
- The specifics of creating binaries and installers for Microsoft Windows
- The specifics of creating binaries and installers for Apple macOS