inline-plz icon indicating copy to clipboard operation
inline-plz copied to clipboard

setup.py develop should install all development requirements

Open raphaelcastaneda opened this issue 10 years ago • 1 comments

It shouldn't be necessary to run: pip install -r requirements_dev.txt

Instead, setup.py develop should include these requirements as well

raphaelcastaneda avatar Jan 17 '16 23:01 raphaelcastaneda

Development mode for setuptools seems more for running the code without having to rebuild it, rather than actually setting up developer dependencies. I think there will always be a separate step for installing developer dependencies regardless, but we could still simplify it by using extras_require and adding an entry for a dev install in setup.py and instead running:

pip install -e .[dev]

This would install the setup.py install as well as dev dependencies in one command.

However, this also breaks tox dependencies which can take a requirements file, so probably better not to change it.

xelaadryth avatar Sep 12 '18 21:09 xelaadryth