-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpyproject.toml
More file actions
executable file
·72 lines (65 loc) · 1.85 KB
/
Copy pathpyproject.toml
File metadata and controls
executable file
·72 lines (65 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[project]
name = "MCSL2"
dynamic = ["version"]
description = "MCServerLauncher 2"
authors = [
{ name = "LxHTT", email = "lxhtt@mcsl.com.cn" },
{ name = "shenjackyuanjie", email = "3695888@qq.com" },
{ name = "AresConnor", email = "2837434884@qq.com" },
{ name = "lgc2333", email = "lgc2333@126.com" },
{ name = "wyx55520", email = "2509043002@qq.com" },
{ name = "Yurnu", email = "1487084645@qq.com" },
{ name = "hengshizhi", email = "3192145045@qq.com" },
{ name = "ztsinsun", email = "horizonsun@vip.qq.com" },
{ name = "ltzXiaoYanMo", email = "yanmo233@duck.com" },
{ name = "kitUIN", email = "kit_uin@outlook.com" },
]
dependencies = [
# "setuptools>=60",
"PyQt-Fluent-Widgets==1.11.2",
"psutil==7.2.1",
"loguru==0.7.3",
"openai==2.2.0",
"requests==2.32.4",
"nuitka==4.1.2",
"pyqt5-concurrent==0.1.7",
"pyqt5-qt5==5.15.2; sys_platform == 'win32'",
"pyqt5-qt5==5.15.17; sys_platform != 'win32'",
"croniter==6.0.0",
"pypdl>=1.5.7",
]
requires-python = ">=3.8,<3.9"
readme = "README.md"
license = { text = "GPL-3.0" }
[tool.setuptools.dynamic]
version = { attr = "MCSL2Lib.MCSL2VERSION" }
[tool.setuptools]
packages = []
# 原 [tool.pdm.scripts] 段落删除,使用 uv 运行脚本:
# uv run MCSL2.py
# uv run deploy.py
# uv run generate_i18n.py
[dependency-groups]
dev = [
"ruff>=0.1.6",
"pyqt5-stubs>=5.15.6.0",
]
[tool.ruff]
target-version = "py38"
line-length = 100
src = ["MCSL2Lib", "PluginExample", "Tools", "Adapters"]
output-format = "grouped"
preview = true
exclude = ["generate_i18n.py", "Tools/ParseOneDriveLink/ParseOneDriveLink.py"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"W", # pycodestyle
]
ignore = ["I001"]
[tool.ruff.lint.isort]
force-single-line = true
force-wrap-aliases = true
combine-as-imports = true