Closed sjquant closed 5 years ago
@NovemberOscar
Thanks for report :)
Can you fix and PR? I think you can fix this.
Unfortuenatly if you can't, I'll fix this by tomorrow. 😗
On Sat, Jun 29, 2019, 15:15 Seonu Jang notifications@github.com wrote:
@NovemberOscar https://github.com/NovemberOscar
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NovemberOscar/Sanic-JWT-Extended/issues/6?email_source=notifications&email_token=AE54WWJOUQUB5O4X5WWTLCDP434WRA5CNFSM4H4JW7LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY3SROI#issuecomment-506931385, or mute the thread https://github.com/notifications/unsubscribe-auth/AE54WWLDOXJC6IEPVT4UZE3P434WRANCNFSM4H4JW7LA .
@NovemberOscar Okay. I sent PR #7
Issue This module has dependency on sanic, jwt, etc. But, when i installing this package with
requirements.txt
(which hassanic
in it) in clean virtual environment with no packages, it raises ModuleNotFoundError (sanic, and jwt either).Proposed Solution I think it's because
__version__
import part in setup.py. When importing__version__
, it also triesJWT Manager
(which importssanic
andjwt
). I came up with two solutions.__version__
with f.read() like sanic I also uploaded picture of that part that part inSanic
below.