From c44813a212a36a56229b27dc3610abb427494d30 Mon Sep 17 00:00:00 2001 From: 283375 Date: Wed, 9 Aug 2023 23:59:18 +0800 Subject: [PATCH] chore: requirements update --- pyproject.toml | 11 +++++------ requirements.txt | 7 ++++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 535c215..4205993 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,10 +10,12 @@ description = "Extract Arcaea play result from your screenshot." readme = "README.md" requires-python = ">=3.8" dependencies = [ - "imutils==0.5.4", + "attrs==23.1.0", + "black==23.3.0", "numpy==1.24.3", - "opencv-python==4.7.0.72", - "pytesseract==0.3.10", + "opencv-python==4.6.0.66", + "paddleocr==2.7.0.1", + "pre-commit==3.3.3", ] classifiers = [ "Development Status :: 3 - Alpha", @@ -24,9 +26,6 @@ classifiers = [ "Homepage" = "https://github.com/283375/arcaea-offline-ocr" "Bug Tracker" = "https://github.com/283375/arcaea-offline-ocr/issues" -[tool.black] -extend-exclude = 'src/arcaea_offline_ocr/_builtin_templates.py' - [tool.isort] profile = "black" src_paths = ["src/arcaea_offline_ocr"] diff --git a/requirements.txt b/requirements.txt index 13aff3e..1bb3942 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ +attrs==23.1.0 black==23.3.0 -imutils==0.5.4 numpy==1.24.3 -opencv-python==4.7.0.72 -pytesseract==0.3.10 +opencv-python==4.6.0.66 +paddleocr==2.7.0.1 +pre-commit==3.3.3