I always thought you can install a python package by
- Checking out the code (e.g.
git clone ...
) - cd into that folder
- Run
pip install .
But now I read that you need to run
python setup.py install
to install all dependencies defined in install_requires
in setup.py
(see HERE).
Can someone please explain the differences? And why pip install
ignores the package list in install_requires
? Or am I doing something completely wrong?