Skip to content Skip to sidebar Skip to footer

How To Use Setup.py To Install Dependencies Only?

I am not interested in installing my package itself but I am interested installing all the dependencies used by my package. Is there a way to do this using setup.py? It seems setu

Solution 1:

Use the -e flag on pip install

pip install -e .

Solution 2:

The only way I've found to reliably do this in a straightforward manner is this:

pip install . && pip uninstall `python setup.py --name`

Post a Comment for "How To Use Setup.py To Install Dependencies Only?"