Software Packaging and Distribution — Python documentation
From Get docs
Python/docs/3.7/library/distribution
Software Packaging and Distribution
These libraries help you with publishing and installing Python software. While these modules are designed to work in conjunction with the Python Package Index, they can also be used with a local index server, or without any index server at all.