Closed
Description
I was trying to download all the dependencies of a local python package and noticed that running pip install -d . -e <path to python package dir>
from any subdir of the package will hang and python will consume 100% CPU. Repro:
# Start from directory that contains the setup.py
# Running "pip install -d . -e ." will work from this directory.
mkdir foo
cd foo
pip install -d . -e ../ # This command will hang.
pip install -d . -e $(dirname $(pwd)) # Absolute path will also hang.
Other data points:
pip install -d /outside/of/package -e ../
works.
Running pip install -d . -e <packagedir>
outside of <packagedir>
or at the top level of <packagedir>
works.
Related issue: #831