From 77c2971b2cf439925df8e73cac05f163a71a1a73 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 6 Jan 2026 14:15:41 +0800 Subject: [PATCH] bugfix --- pyproject.toml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 78c3862..89c944e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,14 @@ version = "0.1.0" description = "a language utils module" authors = [{name = "Yu Moqing", email = "yumoqing@gmail.com"}] license = {text = "MIT"} -dependencies = ["fasttext", "ahserver", "sqlor", "appPublic"] +# 已经在这里定义了依赖,不需要在后面重复 +dependencies = [ + "fasttext", + "ahserver", + "sqlor", + "appPublic" +] +requires-python = ">=3.8" [tool.setuptools.packages.find] where = ["."] @@ -19,11 +26,3 @@ include-package-data = true [tool.setuptools.package-data] checklang = ["lid.176.ftz"] - -[options] -requires_python = ">=3.8" -install_requires = - fasttext - apppublic - sqlor - ahserver