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

How it works...

In the first example (creating an archive), a temporary directory is first made, then the wheel is created using a requirements file and placed in the temporary directory. Next, the cwd variable is created and set equal to the present working directory (pwd). Finally, a combined command is issued, changing to the temporary directory, and creating an archive file in cwd of all the files in the temporary directory.

In the second example (installing from an archive), a temporary directory is created. Then, a combined command is given to change to that temporary directory and extract the files that make up the archive file. Then, using pip, the bundled files are used to install the Python program onto the computer in the temporary directory.

主站蜘蛛池模板: 丘北县| 长沙县| 门头沟区| 冷水江市| 兰西县| 岚皋县| 肇州县| 贵定县| 贵港市| 保靖县| 惠安县| 衡阳市| 三门峡市| 嵩明县| 盐池县| 千阳县| 武邑县| 鞍山市| 文昌市| 玛曲县| 华蓥市| 云阳县| 互助| 上饶县| 泰兴市| 南川市| 额济纳旗| 泸州市| 上饶市| 弥勒县| 延川县| 新野县| 海林市| 昌江| 南靖县| 廉江市| 浙江省| 体育| 遂川县| 基隆市| 沙河市|