From 44fd75f15a8a9ae36f74d0d3c0371e6bb4db808e Mon Sep 17 00:00:00 2001 From: Wang Xin Date: Wed, 21 Aug 2024 22:09:00 +0800 Subject: [PATCH] Fix bug (#54) * fix bug * fix bug --- pyproject.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 863c17f..162b3b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,15 +1,17 @@ [build-system] -requires = ["setuptools >= 61.0"] +requires = ["setuptools >= 61.0", "setuptools_scm"] build-backend = "setuptools.build_meta" [project] name = "PPOCRLabel" -version = "2.1.6" +dynamic = ["version"] dependencies = [ "pyqt5", "paddleocr", "openpyxl", "tqdm", + "premailer", + "pandas", ] requires-python = ">= 3.9" authors = [ @@ -40,3 +42,5 @@ PPOCRLabel = "PPOCRLabel.PPOCRLabel:main" [tool.setuptools] package-dir = {PPOCRLabel = ""} package-data = {PPOCRLabel = ["libs/*", "resources/strings/*", "resources/icons/*"]} + +[tool.setuptools_scm]