vimalloc / flask-jwt-simple

A barebones Flask extension for creating and protecting endpoints with JWT
MIT License
69 stars 12 forks source link

Is there need for so many dependencies in requirements.txt? #4

Closed idchlife closed 6 years ago

idchlife commented 6 years ago

Hi! I’m relatively new to python and Flask, right now working with flask app that needs jwt auth.

I noticed something strange in requirements file, though.

Dependencies list is huge! Is this library really uses all of those deps?

overall, thanks for wonderful jwt extension for flask!

vimalloc commented 6 years ago

Those are all the requirements needing for developing the extension. The include the stuff for running unit tests, building the documentation, etc. The requirements for just using this extension is much lower, and can be seen here: https://github.com/vimalloc/flask-jwt-simple/blob/master/setup.py#L20-L23

vimalloc commented 6 years ago

It should also be noted that the packages in the requirements.txt file are a recursive list of requirements, ie they include all of the requirements needed by Flask, PyJWT, tox, etc.

idchlife commented 6 years ago

Oh, thank you for clarification!

Again, thanks for wonderful libraries (simple and extended) for flask! They help a lot since flask-jwt is outdated.