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

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.

主站蜘蛛池模板: 沈丘县| 新兴县| 鄢陵县| 苗栗市| 海城市| 庆云县| 金寨县| 赣榆县| 巴林右旗| 盖州市| 伽师县| 礼泉县| 桃江县| 天全县| 鄱阳县| 嵊泗县| 夏河县| 潮州市| 张家口市| 栾城县| 襄樊市| 台东县| 商城县| 鄂托克旗| 砚山县| 巨鹿县| 凤台县| 西乌| 庆阳市| 昌黎县| 平定县| 简阳市| 崇左市| 定陶县| 百色市| 靖边县| 河西区| 都昌县| 合川市| 宁强县| 思茅市|