python - src/pip-delete-this-directory.txt 我可以删除这个文件吗?

标签 python pip

如果我通过安装 pip 包
pip install -e -e git+https://example.com/repos/foo#egg=foo
然后是一个名为 pip-delete-this-directory.txt 的目录被创建。

我不确定我是否可以删除这个文件,或者这会破坏吗?

问题

该文件的规范引用/文档在哪里?

最佳答案

我找到了 pip-delete-this-directory.txt 的样本其中包含以下几行:

This file is placed here by pip to indicate the source was put here by pip.

Once this package is successfully installed this source code will be deleted (unless you remove this file).



而这个问题的赞成回答:Pip creates build/ directories , 强化了我的信念,如果您删除此文件,什么都不会损坏,但是您安装的模块的源代码将保留在您的计算机上并占用空间。如果这不是您关心的问题,那么您不需要删除它!

关于python - src/pip-delete-this-directory.txt 我可以删除这个文件吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42831292/

相关文章:

python - 取决于行号的函数

python - 如何获取列表列表中可能对的列表 - python

python - 在 Python 中更改包安装顺序

python - 'python setup.py install' 和 'pip install' 之间的区别

python - SciKit-learn 导入错误

python - 在 requirements.txt 中包含 .whl 安装

python - Numpy 优化

python - Keras如何加载本地文件?

javascript - 将 django 变量传递给 javascript

pip - 使用 "sudo pip install ansible --upgrade"更新 Ansible 版本不会更新核心模块