Have you ever heard about such words when you working with Python?
easy_install, pip, distutils, setuptools, sdist, bdist, egg, wheel, twine, pypi
let's structuring knowledge about it.
- pip (using nowadays, was added in 2008)
- easy_install (was added in 2004, don't support packages uninstall)
The tool pip can be used to install a package from PyPI. It replaces an earlier tool named easy_install.
- setuptools (2004)
- distutils (1998)
Setuptools
is a collection of enhancements to the Pythondistutils
that allow developers to more easily build and distribute Python packages
- sdist (source distribution)
- bdist (built distribution)
- egg (bdist_egg)
- wheel (bdist_wheel)
Both are built distribution formats for packages. Wheels have replaced Eggs as the preferred format. Installer pip supports only Wheels while Eggs can be installed with the older easy_install tool. Wheels don't include compiled Python files. In a built distribution, files and metadata are included.
- PyPI (package repository)
- twine (Twine is the tool that has to be used to publish packages on PyPI)
Used resources: