2023-03-08 14:44:41 +00:00
|
|
|
|
import setuptools # 导入setuptools打包工具
|
|
|
|
|
|
|
|
|
|
with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
|
|
long_description = fh.read()
|
|
|
|
|
|
|
|
|
|
setuptools.setup(
|
|
|
|
|
name="cqwu", # 用自己的名替换其中的YOUR_USERNAME_
|
2023-03-23 14:31:05 +00:00
|
|
|
|
version="0.0.9", # 包版本号,便于维护版本
|
2023-03-08 14:44:41 +00:00
|
|
|
|
author="omg-xtao", # 作者,可以写自己的姓名
|
|
|
|
|
author_email="xtao@xtaolink.cn", # 作者联系方式,可写自己的邮箱地址
|
|
|
|
|
description="A cqwu ehall client.", # 包的简述
|
|
|
|
|
long_description=long_description, # 包的详细介绍,一般在README.md文件内
|
|
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
|
url="https://github.com/cqwu-ehall/cqwu-ehall", # 自己项目地址,比如github的项目地址
|
|
|
|
|
packages=setuptools.find_packages(),
|
|
|
|
|
classifiers=[
|
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
|
],
|
2023-03-15 09:31:36 +00:00
|
|
|
|
python_requires='>=3.8', # 对python的最低版本要求
|
2023-03-08 14:44:41 +00:00
|
|
|
|
install_requires=[
|
2023-03-08 14:55:21 +00:00
|
|
|
|
"httpx",
|
|
|
|
|
"lxml",
|
|
|
|
|
"PyExecJS2",
|
|
|
|
|
"beautifulsoup4",
|
|
|
|
|
"qrcode",
|
2023-03-08 14:44:41 +00:00
|
|
|
|
"pillow",
|
2023-03-08 14:55:21 +00:00
|
|
|
|
"pydantic",
|
2023-03-23 14:31:05 +00:00
|
|
|
|
"openpyxl",
|
2023-03-08 14:44:41 +00:00
|
|
|
|
],
|
|
|
|
|
)
|