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

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.

主站蜘蛛池模板: 吴江市| 家居| 金川县| 商洛市| 隆化县| 维西| 碌曲县| 获嘉县| 平潭县| 张北县| 岗巴县| 临桂县| 兰考县| 苏尼特左旗| 石家庄市| 兴安县| 三原县| 枞阳县| 贵州省| 页游| 柘城县| 阿图什市| 治多县| 静安区| 云梦县| 平昌县| 潼关县| 峨山| 永吉县| 自贡市| 丰宁| 紫云| 永靖县| 建瓯市| 濉溪县| 桐城市| 古浪县| 鹤壁市| 阿拉善右旗| 鹿泉市| 伽师县|