dist folder
The folder where python -m build writes the finished, installable files of your package: a wheel and a source distribution.
In more detail
It is generated output, so it is deleted and rebuilt freely and listed in .gitignore rather than committed. pip can install the wheel from there, or you can upload both files to a package index.
Related terms
- python -m build — The standard command that turns a project described by pyproject.toml into installable package files, a wheel and a source distribution, in the dist folder.
- wheel — The standard ready-to-install package file for Python, with a .whl extension, which pip can install without building anything.
- source distribution — A package file containing a project's source code and metadata, from which an installer can build and install it.
Taught in
- pip, requirements, and installing packages — Hands-on Python: Complete Video Course & Book
- Shipping: scripts, entry points and git — Hands-on Python: Complete Video Course & Book