如果我通过安装 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/