Shamshad Alam Shamshad Alam - 1 year ago 182
Python Question

What does pip install . (dot) mean?

I have a shell script which last line is following:

pip install .

What does it do?

When we run
pip install package-name
, it will install specified package. Similarly when we run
pip install -r requirements.txt
it install all the packages specified in
. But I am not sure what does above command do.

Answer Source

"Install the project found in the current directory".

This is just a specific case of pip install /path/to-source/tree.

To quote the the pip install documentation describing this usage:

pip install [options] [-e] <local project path> ...
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download