Appendix 4Packaging and Distributing Python Projects
The idea of packaging and distribution seems so serious. Most of Python has a rather informal feeling about it, and now suddenly, we’re talking “packaging and distribution.” However, sharing code is part of working with Python. Therefore, it’s important to learn to share code properly with the builtin Python tools. And while the topic is bigger than what I cover here, it needn’t be intimidating. All I’m talking about is how to share code in a way that is more traceable and consistent than emailing zipped directories of modules.
This appendix is intended to give you a comfortable understanding of how to set up a project so that it is installable with pip, how to create a source distribution, ...
Get Python Testing with pytest 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.