From be8de118db913711eb72ae5187d26e54a0055727 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 15 Dec 2023 09:11:47 +0800 Subject: refactor(docs): optmst `docs` dir & `deps` --- pyproject.toml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 20f6c671..a7f20ffd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,13 @@ name = "infini" version = "1.0.4" description = "The `Core` of `HydroRoll`, the `Loader` of your rules packages." authors = [{ name = "简律纯", email = "i@jyunko.cn" }] -dependencies = [ +dependencies = ["reportlab[pycairo]>=4.0.5", "pydantic>=2.4.2", "loguru>=0.7.2"] +requires-python = ">=3.8" +readme = "README.md" +license = { text = "MIT" } + +[tool.pdm.dev-dependencies] +dev = [ "mkdocs>=1.5.3", "mkdocs-material[imaging]>=9.4.4", "mkdocs-blog-plugin>=0.25", @@ -20,15 +26,7 @@ dependencies = [ "mkdocs-redirects>=1.2.1", "mike>=1.1.2", "mkdocstrings>=0.23.0", - "distribute>=0.7.3", - "reportlab[pycairo]>=4.0.5", - "pydantic>=2.4.2", - "loguru>=0.7.2", ] -requires-python = ">=3.8" -readme = "README.md" -license = { text = "MIT" } - [project.scripts] infini = "infini.cli:Cli.parse_args" @@ -37,4 +35,3 @@ ifi = "infini.cli:Cli.parse_args" [build-system] requires = ["pdm-backend"] build-backend = "pdm.backend" - -- cgit v1.2.3-70-g09d2