🐛 Fix utils

Co-authored-by: brian <brian@xtaolabs.com>
This commit is contained in:
brian 2023-03-08 22:55:21 +08:00 committed by GitHub
parent 99a9e627df
commit e2a43b1c5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 7 deletions

3
cqwu/utils/__init__.py Normal file
View File

@ -0,0 +1,3 @@
from .auth import encode_password
__all__ = ["encode_password"]

View File

@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
setuptools.setup( setuptools.setup(
name="cqwu", # 用自己的名替换其中的YOUR_USERNAME_ name="cqwu", # 用自己的名替换其中的YOUR_USERNAME_
version="0.0.2", # 包版本号,便于维护版本 version="0.0.3", # 包版本号,便于维护版本
author="omg-xtao", # 作者,可以写自己的姓名 author="omg-xtao", # 作者,可以写自己的姓名
author_email="xtao@xtaolink.cn", # 作者联系方式,可写自己的邮箱地址 author_email="xtao@xtaolink.cn", # 作者联系方式,可写自己的邮箱地址
description="A cqwu ehall client.", # 包的简述 description="A cqwu ehall client.", # 包的简述
@ -20,12 +20,12 @@ setuptools.setup(
], ],
python_requires='>=3.6', # 对python的最低版本要求 python_requires='>=3.6', # 对python的最低版本要求
install_requires=[ install_requires=[
"httpx==0.23.3", "httpx",
"lxml==4.9.2", "lxml",
"PyExecJS2==1.6.1", "PyExecJS2",
"beautifulsoup4==4.11.2", "beautifulsoup4",
"qrcode==7.4.2", "qrcode",
"pillow", "pillow",
"pydantic==1.10.5", "pydantic",
], ],
) )