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

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.

主站蜘蛛池模板: 东至县| 天峨县| 安平县| 阿瓦提县| 剑阁县| 青岛市| 永宁县| 民权县| 高要市| 玉树县| 巴彦淖尔市| 得荣县| 喀喇| 庄河市| 临安市| 兴和县| 分宜县| 江安县| 瓮安县| 城步| 克东县| 宜丰县| 云浮市| 安化县| 长汀县| 南靖县| 阜宁县| 巴林左旗| 浦东新区| 伊金霍洛旗| 增城市| 丹阳市| 互助| 康定县| 锡林浩特市| 环江| 普洱| 当阳市| 平遥县| 泌阳县| 静宁县|