Software Packaging & Distribution

distutils — Building and installing Python modules

The distutils package provides support for building and installing additional modules into a Python installation. The new modules may be either 100%-pure Python, or may be extension modules written in C, or may be collections of Python packages which include modules coded in both Python and C.

ensurepip — Bootstrapping the pip installer

The ensurepip package provides support for bootstrapping the pip installer into an existing Python installation or virtual environment. This bootstrapping approach reflects the fact that pip is an independent project with its own release cycle, and the latest available stable version is bundled with maintenance and feature releases of the CPython reference interpreter.

venv — Creation of virtual environments

Source code: Lib/venv/

zipapp — Manage executable Python zip archives

Source code: Lib/zipapp.py