aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author苏向夜 <fu050409@163.com>2023-12-14 17:42:23 +0800
committer苏向夜 <fu050409@163.com>2023-12-14 17:42:23 +0800
commit1dbdbc7e84a7d107e35c507ee439075d6e469ea6 (patch)
treeb5b676c072437b2adf8150be3f12a2535b257bcb
parent61bda5c7c0d96ba7d5cdb61828e9182bbf2741a2 (diff)
downloadinfini-1dbdbc7e84a7d107e35c507ee439075d6e469ea6.tar.gz
infini-1dbdbc7e84a7d107e35c507ee439075d6e469ea6.zip
:fire: 使用__main__.py替代project.scripts
-rw-r--r--pyproject.toml10
1 files 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"
-