官术网_书友最值得收藏!

Python package installation options

Installing packages normally happens by looking at http://pypi.python.org/pypi for the desired module, but pip supports installing from version control, local projects, and from distribution files as well.

Python wheels are pre-built archives that can speed up the package installation process compared to installing from source files. They can be compared to installing pre-made binary applications for an operating system rather than building and installing source files.

Wheels were developed to replace Python eggs, which performed wheels' functions before the new packaging standards were developed. Wheels improve on eggs by specifying the .dist-info directory (a database of installed Python packages that is very close to the on-disk format) and by implementing package metadata (which helps identify software dependencies).

pip installs from wheels whenever possible, though this feature can be disabled using pip install --no-binary. If wheel files aren't available, pip will look for source files. Wheels can be downloaded from PyPI manually or pulled from a local repository; just tell pip where the local file is located.

主站蜘蛛池模板: 利川市| 合江县| 临高县| 宣汉县| 当涂县| 高碑店市| 镶黄旗| 湖南省| 都安| 德阳市| 泽普县| 齐河县| 库尔勒市| 桃园县| 商水县| 焉耆| 武邑县| 九龙城区| 桓台县| 夏河县| 西青区| 北流市| 贡觉县| 建昌县| 石台县| 尉氏县| 汤阴县| 三门峡市| 买车| 大同市| 萨迦县| 黔西县| 云龙县| 武山县| 辛集市| 汶川县| 博爱县| 四平市| 克拉玛依市| 苗栗市| 耒阳市|