Remove extras require of bcrypt and html2text for web user module
This commit is contained in:
@@ -122,9 +122,7 @@ setup(name=name,
|
||||
python_requires='>=3.9',
|
||||
install_requires=requires,
|
||||
extras_require={
|
||||
'BCrypt': ['bcrypt'],
|
||||
'test': tests_require,
|
||||
'html2text': ['html2text'],
|
||||
},
|
||||
zip_safe=False,
|
||||
entry_points="""
|
||||
|
||||
@@ -7,14 +7,6 @@ import time
|
||||
import urllib.parse
|
||||
from secrets import token_hex
|
||||
|
||||
try:
|
||||
import bcrypt
|
||||
except ImportError:
|
||||
bcrypt = None
|
||||
try:
|
||||
import html2text
|
||||
except ImportError:
|
||||
html2text = None
|
||||
from sql import Literal, Null
|
||||
from sql.conditionals import Coalesce
|
||||
from sql.functions import CurrentTimestamp
|
||||
|
||||
Reference in New Issue
Block a user