随着 Python 的轮子的引入,我现在看到构建的轮子被缓存在我的主目录的缓存中:
~/myproject-0.1$ pip install .
Building wheels for collected packages: myproject
Processing /home/oz123/pyproject-0.1
Building wheels for collected packages: myproject
Running setup.py bdist_wheel for myproject
Stored in directory: /home/oz123/.cache/pip/wheels/64/80/bf/d7899de05c2cf7f1ae18806b0c494b8c43721189bbfafce32
Successfully built myproject
我想知道:
- 有没有办法在不造轮子的情况下安装项目?(我知道我可以简单地从我的系统中移除轮子)
- 有没有办法指定这个缓存的位置?