Packaging with setuptools and cxFreeze
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:
- In Creating distributable packages with setuptools, you'll learn to create distributable Python source and
wheel
packages using thesetuptools
library. - In Creating executables with cx_Freeze, you'll learn to create a standalone executable of your application, including specific instructions for Windows and macOS.