This document is for an old version of Python that is no longer supported. You should install the python3 and python3-doc packages and read the Python documentation for the Python3 version packaged in this release.

# 27. 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.

- 27.1. `distutils` — Building and installing Python modules
- 27.2. `ensurepip` — Bootstrapping the `pip` installer
  - 27.2.1. Command line interface
  - 27.2.2. Module API