flasgger / flasgger

Easy OpenAPI specs and Swagger UI for your Flask API
http://flasgger.pythonanywhere.com/
MIT License
3.63k stars 524 forks source link

Move development pip packages to separate requirements.txt #145

Closed JoakimSoderberg closed 7 years ago

JoakimSoderberg commented 7 years ago

Currently things like coveralls and unit tests files are included in the requirements.txt. The only way these extra packages only used for unit tests and development are separated are via a comment.

Why not break these out into a separate requirements-dev.txt instead? Then when one wants to develop or run unit tests one can install these extra packages:

Normal use:

pip install  # Uses requirements.txt by default.

Then during development one can install the extra dev packages:

pip install
pip install -r requirements-dev.txt  # Installs the extra dev only packages
rochacbruno commented 7 years ago

I am ok with this if you can send a PR and also fix travis CI to also isntal this new file.

But note that you only need requirements.txt for development, because python setup.py install already installs everything from https://github.com/rochacbruno/flasgger/blob/master/setup.py#L47

JoakimSoderberg commented 7 years ago

Done: https://github.com/rochacbruno/flasgger/pull/149