3 The anatomy of a minimal Python package
This chapter covers
- The Python package build system
- Building a package using Setuptools
- The directory structure of a Python package
- Building a package for multiple targets
Python package builds are the product of coordination between a few different tools driven by a standardized process. One of the biggest choices you have as a package author is which set of tools to use. It can be difficult to assess the nuances of each, especially if you’re new to packaging. Fortunately, tools are standardizing around the same core workflow, so once you learn it, you’ve got the agility to switch between tools with minimal effort. This chapter covers what each category of these tools accomplishes and how they work ...
Get Publishing Python Packages 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.