I have a shell script which last line is following:
pip install .
pip install package-name
pip install -r requirements.txt
"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> ...