0 Star 2 Fork 3

逍遥/PyWxDumpClone

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 2.27 KB
一键复制 编辑 原始数据 按行查看 历史
xaoyaoo 提交于 2024-08-18 15:29 . fix
from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# 读取版本号 pywxdump/__init__.py 中的 __version__
with open("pywxdump/__init__.py", "r", encoding="utf-8") as f:
for line in f.readlines():
if line.startswith("__version__"):
version = line.split("=")[-1].strip().strip("\"'")
break
else:
raise RuntimeError("version not found")
install_requires = [
"psutil",
"pycryptodomex",
"pywin32",
"pymem",
"silk-python",
"pyaudio",
"requests",
"pyahocorasick",
"lz4",
"blackboxprotobuf",
"lxml",
"dbutils",
"fastapi",
"uvicorn",
"python-dotenv",
# "pillow",
]
setup(
name="pywxdump",
author="xaoyaoo",
version=version,
author_email="xaoyaoo@gmail.com",
description="微信信息获取工具",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/xaoyaoo/PyWxDump",
license='MIT',
# packages=find_packages(exclude=[]),
packages=['pywxdump', 'pywxdump.ui', 'pywxdump.wx_core', 'pywxdump.wx_core.utils', 'pywxdump.analyzer',
'pywxdump.api', 'pywxdump.api.export', 'pywxdump.db', 'pywxdump.db.utils'],
package_dir={'pywxdump': 'pywxdump',
'pywxdump.wx_core': 'pywxdump/wx_core',
'pywxdump.wx_core.utils': 'pywxdump/wx_core/utils',
'pywxdump.analyzer': 'pywxdump/analyzer',
'pywxdump.ui': 'pywxdump/ui',
'pywxdump.api': 'pywxdump/api',
'pywxdump.api.export': 'pywxdump/api/export',
'pywxdump.db': 'pywxdump/db',
'pywxdump.db.utils': 'pywxdump/db/utils'
},
# include_package_data=True,
package_data={
'pywxdump': ['WX_OFFS.json', 'ui/web/*', 'ui/web/assets/*', 'wx_core/tools/*',
]
},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
python_requires='>=3.8, <4',
install_requires=install_requires,
entry_points={
'console_scripts': [
'wxdump = pywxdump.cli:console_run',
],
},
setup_requires=['wheel']
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xaooyaoo/PyWxDumpClone.git
git@gitee.com:xaooyaoo/PyWxDumpClone.git
xaooyaoo
PyWxDumpClone
PyWxDumpClone
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385