The build
directory is where a packages gets unpacked into and build from. When the package is installed successfully, pip removes the unpacked dir from build
, unless you've removed pip-delete-this-directory.txt
. As described in 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).
Thus its less important for runtime environment. You could ignore it safely.
Also, you could use pip install -b customized_build_directory
to specify another directory as build
base directory, for example /tmp
Furthermore, you could pip install --no-download package_name
to rebuild the package w/o downloading it, if the previous installation of the package failed.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…