From 1dbdbc7e84a7d107e35c507ee439075d6e469ea6 Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Thu, 14 Dec 2023 17:42:23 +0800 Subject: :fire: 使用__main__.py替代project.scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 20f6c671..6084eb00 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = "infini" version = "1.0.4" description = "The `Core` of `HydroRoll`, the `Loader` of your rules packages." -authors = [{ name = "简律纯", email = "i@jyunko.cn" }] +authors = [{ name = "简律纯", email = "i@jyunko.cn" }, { name = "苏向夜", email = "fu050409@163.com" }] dependencies = [ "mkdocs>=1.5.3", "mkdocs-material[imaging]>=9.4.4", @@ -25,16 +25,10 @@ dependencies = [ "pydantic>=2.4.2", "loguru>=0.7.2", ] -requires-python = ">=3.8" +requires-python = ">=3.9" readme = "README.md" license = { text = "MIT" } - -[project.scripts] -infini = "infini.cli:Cli.parse_args" -ifi = "infini.cli:Cli.parse_args" - [build-system] requires = ["pdm-backend"] build-backend = "pdm.backend" - -- cgit v1.2.3-70-g09d2