mirror of
https://github.com/LifeArchiveProject/WeChatDataAnalysis.git
synced 2026-02-02 05:50:50 +08:00
- pyproject.toml 新增 optional-dependencies: build(pyinstaller) - 移除多余的 pathlib 依赖(Python 3 内置) - 更新 uv.lock,锁定构建依赖
42 lines
986 B
TOML
42 lines
986 B
TOML
[project]
|
|
name = "wechat-decrypt-tool"
|
|
version = "0.1.0"
|
|
description = "Modern WeChat database decryption tool with React frontend"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"cryptography>=41.0.0",
|
|
"fastapi>=0.104.0",
|
|
"uvicorn[standard]>=0.24.0",
|
|
"python-multipart>=0.0.6",
|
|
"aiofiles>=23.2.1",
|
|
"typing-extensions>=4.8.0",
|
|
"pywin32>=310; sys_platform == 'win32'",
|
|
"psutil>=7.0.0",
|
|
"pycryptodome>=3.23.0",
|
|
"requests>=2.32.4",
|
|
"loguru>=0.7.0",
|
|
"zstandard>=0.23.0",
|
|
"pilk>=0.2.4",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
build = [
|
|
"pyinstaller>=6.0.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
wechat-decrypt = "main:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/wechat_decrypt_tool"]
|
|
include = [
|
|
"src/wechat_decrypt_tool/native/VoipEngine.dll",
|
|
"src/wechat_decrypt_tool/native/wcdb_api.dll",
|
|
"src/wechat_decrypt_tool/native/WCDB.dll",
|
|
]
|