It’s safe to say that at some point, you will want to distribute your software. As tempted as you might be to just zip your code and upload it to the internet, Python provides tools to make it easier for your end users to get your software to work. You should already be familiar with using setup.py to install Python applications and libraries, but you have probably never delved into how it works behind the scenes or how to make a setup.py of your own.

In this chapter, you’ll learn the history of setup.py, how the file works, and how to create your own custom setup.py. We’ll also take a look at some of the less well-known ...

Get Serious Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.