pyproject.tomlsetup.py based project?Welcome to thePython Packaging User Guide, a collection of tutorials andreferences to help you distribute and install Python packages with moderntools.
This guide is maintained onGitHub by thePython Packaging Authority. Wehappily acceptcontributions and feedback. 😊
Note
Building your understanding of Python packaging is a journey. Patience andcontinuous improvement are key to success. The overview and flow sectionsprovide a starting point for understanding the Python packaging ecosystem.
TheOverview of Python Packaging explains Python packagingand its use when preparing and distributing projects.This section helps you build understanding about selecting the tools andprocesses that are most suitable for your use case.It includes what packaging is, the problems that it solves, andkey considerations.
To get an overview of the workflow used to publish your code, seepackaging flow.
Tutorials walk through the steps needed to complete a project for the first time.Tutorials aim to help you succeed and provide a starting point for futureexploration.TheTutorials section includes:
Atutorial on managing application dependenciesin a version controlled project
Atutorial on packaging and distributingyour project
Guides provide steps to perform a specific task. Guides are more focused onusers who are already familiar with Python packaging and are looking forspecific information.
TheGuides section provides “how to” instructions in three majorareas: package installation; building and distributing packages; miscellaneoustopics.
TheDiscussions section provides in-depth explanations and discussionabout topics, such as:
ThePyPA specifications section for packaging interoperability specifications.
The list ofother projects maintained by members of the Python Packaging Authority.
TheGlossary for definitions of terms used in Python packaging.