Skip to content

Commit

Permalink
Make dependencies for Token plugins optional
Browse files Browse the repository at this point in the history
redis and jwcrypto are not required to use websockify so configure
these as optional requirements for specific features (redis, jwt)
rather than always installing.
  • Loading branch information
javacruft committed Jul 18, 2024
1 parent 99f83ca commit 085818b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@
include_package_data=True,
install_requires=[
'numpy', 'requests',
'jwcrypto',
'redis',
],
extras_requires={
'redis': ['redis'],
'jwt': ['jwcrypto'],
},
zip_safe=False,
entry_points={
'console_scripts': [
Expand Down

0 comments on commit 085818b

Please sign in to comment.