Chapter 3. Modularize, Package, Deploy!
In the past few chapters, you wrote a simple application, added new features to it, and made sure that some commonly encountered bugs were fixed. Now, it is time to make it available to a broader audience. In this chapter, you will learn the following topics:
- Modularizing and packaging the code written in earlier chapters
- Preparing and deploying a source distribution
- Setting up a private Python package repository
- Making incremental releases
- Bringing your code under version control
Thanks to word of mouth publicity, the high fantasy game application is gaining further attention. More and more people are requesting access to the code, either to use the functionality in their own application or to simply play the game. So far, you have sent the complete source code to the users requesting it. But, it is silly to continue doing that because you have made quite a few frequent upgrades.
There are several ways to handle this. The most basic option is...