- Secret Recipes of the Python Ninja
- Cody Jackson
- 127字
- 2021-06-25 22:14:42
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.
推薦閱讀
- 差分進化算法及其高維多目標優化應用
- 深度學習:算法入門與Keras編程實踐
- Mastering RStudio:Develop,Communicate,and Collaborate with R
- PostgreSQL Replication(Second Edition)
- C#程序設計
- HTML5秘籍(第2版)
- Android應用開發實戰(第2版)
- INSTANT Apache ServiceMix How-to
- 快樂編程:青少年思維訓練
- Node.js 6.x Blueprints
- Less Web Development Cookbook
- Python網絡爬蟲從入門到實踐
- Python程序設計現代方法
- Java Web程序開發參考手冊
- 零基礎學Visual Basic第2版