Skip to content

Commit c4e30fb

Browse files
committed
更新依赖文案
1 parent ac5ccaf commit c4e30fb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pip install auth-swust
2828
import os
2929
import sys
3030

31-
# 设置验证码识别框架 需要先安装 keras, tensorflow
31+
# 设置验证码识别框架 需要先安装 tensorflow>=2.1.0
3232
os.environ['CAPTCHA_BACKEND'] = "keras"
3333
from loguru import logger
3434
from auth_swust import Login, default_logger

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
long_description_content_type="text/markdown",
2323
packages=setuptools.find_packages(),
2424
install_requires=install_requires,
25+
extras_require={"tensorflow": ["tensorflow>=2.1.0"]},
2526
classifiers=[
2627
"Programming Language :: Python :: 3.6",
2728
"Programming Language :: Python :: 3.7",

0 commit comments

Comments
 (0)