# 軟體封裝與發布

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.

- `distutils` --- Building and installing Python modules
- `ensurepip` --- Bootstrapping the `pip` installer
  - Command line interface
  - Module API
- `venv` --- Creation of virtual environments
  - Creating virtual environments
  - API
  - An example of extending `EnvBuilder`
- `zipapp` --- Manage executable Python zip archives
  - Basic Example
  - 命令執行列介面
  - Python API
  - Examples
  - Specifying the Interpreter
  - Creating Standalone Applications with zipapp
    - Making a Windows executable
    - Caveats
  - The Python Zip Application Archive Format