Introduction to Python Package management tools

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.