Common package management tools and relationships
Setuptools-->distribute
Easy_install-->pip
1, distribute
Distribute is an enhancement to the standard library Disutils module, and we know that disutils is primarily used to package and distribute packages more easily, especially for packages that have dependencies on other packages. Distribute was created because the Setuptools package is no longer maintained.
Home: Https://pypi.python.org/pypi/distribute
Installation and use
wget https://pypi.python.org/packages/5f/ad/1fde06877a8d7d5c9b60eff7de2d452f639916ae1d48f0b8f97bf97e570a/ Distribute-0.7.3.zip#md5=c6c59594a7b180af57af8a0cc0cf5b4aunzip distribute-0.7.3. zip CD Distribute-0.7.3python setup.py install
View Code
2. Pip
Pip is a tool for installing the Python package, providing an installation package that lists the packages that have been installed, the upgrade package, and the ability to uninstall the package. Pip is a replacement for Easy_install, which provides the same functionality for finding packages as Easy_install, so packages that can be installed using Easy_install can also be installed using PIP.
Note: Pip installation requires Setuptools or distribute, if you are using Python 3.x then you can only use distribute because python3.x does not support Setuptools.
Home: Https://pypi.python.org/pypi/pip
Installation and use
setuptools Installing wget https://pypi.python.org/packages/source/s/setuptools/setuptools-20.9.0.tar.gz# md5=e5f4d80fcb68bcac179b327bf1791dectar-zxf setuptools-20.9. 0.TAR.GZCD setuptools-20.9 . 0python setup.py installcd.. wget https://pypi.python.org/packages/source/p/pip/pip-7.1.2.tar.gz#md5= 3823d2343d9f3aaab21cf9c917710196tar-zxf pip-7.1.2. tar.gz cd pip-7.1.2&& python setup.py Install
View Code
Introduction to Python Package management tools