You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@leportella
When I install this module (not develop install), I find some questions.
1.
After pip install ., I use from nativeauthenticator import NativeAuthenticator.It shows some error
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/kai/work/embark3_env/venv/lib/python3.5/site-packages/nativeauthenticator/__init__.py", line 4, in <module>
from nativeauthenticator.nativeauthenticator import NativeAuthenticator
File "/home/kai/work/embark3_env/venv/lib/python3.5/site-packages/nativeauthenticator/nativeauthenticator.py", line 1, in <module>
import bcrypt
ImportError: No module named 'bcrypt'
I saw you put bcrypt into dev-requirements.txt, I think you should put it into setup.py's install_requires. (It just my suggestions).
2.
It's about f-string.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/kai/work/embark3_env/venv/lib/python3.5/site-packages/nativeauthenticator/__init__.py", line 4, in <module>
from nativeauthenticator.nativeauthenticator import NativeAuthenticator
File "/home/kai/work/embark3_env/venv/lib/python3.5/site-packages/nativeauthenticator/nativeauthenticator.py", line 10, in <module>
from .handlers import (AuthorizationHandler, ChangeAuthorizationHandler,
File "/home/kai/work/embark3_env/venv/lib/python3.5/site-packages/nativeauthenticator/handlers.py", line 53
f"at least {pw_len} characters, doesn't have "
^
SyntaxError: invalid syntax
This is a new string format in python3.6 (I usually use python3.5). If you just want to support python>=3.6, you need set python_requires=">=3.6" in setup.py. The other way is changing the format style to support 3.4 or 3.5.
This is all my questions. Thank you.
If you wanne help, I can have a try.
The text was updated successfully, but these errors were encountered:
@leportella
When I install this module (not develop install), I find some questions.
1.
After
pip install .
, I usefrom nativeauthenticator import NativeAuthenticator
.It shows some errorI saw you put
bcrypt
intodev-requirements.txt
, I think you should put it intosetup.py
'sinstall_requires
. (It just my suggestions).2.
It's about
f-string
.This is a new string format in
python3.6
(I usually usepython3.5
). If you just want to supportpython>=3.6
, you need setpython_requires=">=3.6"
insetup.py
. The other way is changing the format style to support3.4
or3.5
.This is all my questions. Thank you.
If you wanne help, I can have a try.
The text was updated successfully, but these errors were encountered: