-
-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (119 loc) · 3.54 KB
/
Copy pathpyproject.toml
File metadata and controls
130 lines (119 loc) · 3.54 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[build-system]
requires = [
"setuptools>=61.0", # PEP 621 support in setuptools
"wheel"
]
build-backend = "setuptools.build_meta"
[project]
name = "GameSentenceMiner"
version = "2026.7.4"
description = "A tool for mining sentences from games. Update: Dependencies, replay buffer based line searching, and bug fixes."
readme = "README.md"
requires-python = ">=3.10, <3.14"
license = { file = "LICENSE" }
authors = [
{ name = "Beangate", email = "bpwhelan95@gmail.com"}
]
urls = { Homepage = "https://github.com/bpwhelan/GameSentenceMiner", Repository = "https://github.com/bpwhelan/GameSentenceMiner" }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent"
]
dependencies = [
"requests~=2.32.5",
"watchdog~=6.0.0",
"soundfile~=0.13.1",
"toml~=0.10.2",
"psutil~=7.1.0",
"python-xlib ; sys_platform == 'linux'",
"rapidfuzz~=3.10.0",
"plyer~=2.1.0",
"keyboard~=0.13.5",
"websockets~=15.0.1",
"dataclasses_json~=0.6.7",
"obsws-python~=1.8.0",
"pytz>=2025.1",
"numpy==2.2.6",
"faster-whisper~=1.2.1",
"kaldi-native-fbank>=1.15.0",
"regex~=2025.10.23",
"opencv-python~=4.12.0.88",
"oneocr==1.0.10",
"sounddevice~=0.5.2",
"groq~=0.33.0",
"flask~=3.1.2",
"pystray~=0.19.5",
"pygetwindow==0.0.9; sys_platform == 'win32'",
"pywin32==311; sys_platform == 'win32'",
"pillow~=12.0.0",
"openai~=2.6.0",
"flask-compress~=1.15",
"meikiocr~=0.3.4",
"jaconv~=0.4.0",
"loguru~=0.7.3",
"pyperclipfix>=1.9.4",
"desktop-notifier>=6.1.0",
"mss>=10.1.0",
"pyobjc~=10.3.1 ; sys_platform == 'darwin'",
"pyqt6~=6.10.0",
"pyqtdarktheme~=2.1.0",
"langid~=1.1.6",
"pysbd~=0.3.4",
"pypresence>=4.6.1",
"tokenizers==0.22.1",
"curl-cffi~=0.13.0",
"protobuf>=6.33.2",
"py7zr~=1.0.0",
"waitress==3.0.2",
"flasgger~=0.9.7",
"pynput~=1.8.1 ; sys_platform == 'win32'",
"uv~=0.9.22",
"pip~=25.3",
"ollama~=0.6.1",
"aiohttp~=3.13.3",
"fpng~=0.1.0",
"onnxruntime~=1.23.2",
"google-genai~=1.70.0",
"windows-capture>=2.0.0 ; sys_platform == 'win32'",
]
[project.optional-dependencies]
lens = [
"protobuf>=6.33.2",
]
gpu = [
"onnxruntime-gpu",
# GPU whisper: CTranslate2 needs cuBLAS + cuDNN at runtime. These used to arrive transitively
# via torch's CUDA wheel; torch is gone, so the gpu extra pulls them directly (win32 only).
"nvidia-cublas-cu12 ; sys_platform == 'win32'",
"nvidia-cudnn-cu12 ; sys_platform == 'win32'",
]
dev = [
"pytest>=9.0.2",
"hypothesis>=6.100.0",
"pre-commit>=4.3.0",
"ruff>=0.14.0",
"matplotlib~=3.10.6", # only used by scripts/ocr_metrics_benchmark.py
]
# This creates a command-line script named `gamesentenceminer` that will
# call the `main()` function defined in the package's __main__.py (or wherever
# you've placed your entry function). Adjust the import path as needed.
[project.scripts]
gamesentenceminer = "GameSentenceMiner.gsm:main"
[tool.setuptools]
packages = { find = { include = ["GameSentenceMiner*"] } }
[tool.setuptools.package-data]
"GameSentenceMiner.web" = ["**/*"]
"GameSentenceMiner" = ["assets/*", "assets/fireredvad/*", "locales/*"]
"GameSentenceMiner.mecab" = ["**/*"]
[tool.uv.sources]
pypresence = { url = "https://github.com/qwertyquerty/pypresence/archive/168c0fc3c00d8b974017cfcd18a4e801b6b78dae.zip" }
[tool.ruff]
target-version = "py310"
line-length = 120
force-exclude = true
extend-exclude = [
"GameSentenceMiner/owocr/owocr/lens_protos/*_pb2.py",
]
[tool.ruff.lint.per-file-ignores]
"GameSentenceMiner/obs/__init__.py" = ["E402", "F401"]