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

- 28.1. `distutils` — Building and installing Python modules
- 28.2. `ensurepip` — Bootstrapping the `pip` installer
  - 28.2.1. Command line interface
  - 28.2.2. Module API
- 28.3. `venv` — Creation of virtual environments
  - 28.3.1. Creating virtual environments
  - 28.3.2. API
  - 28.3.3. An example of extending `EnvBuilder`