How to use setup.py to install dependencies only?

前端 未结 2 1572
离开以前
离开以前 2021-02-13 12:22

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

2条回答
  •  旧时难觅i
    2021-02-13 13:12

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

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

提交回复
热议问题