From 5a2033860a328c4116f0ede2874915315e7487b0 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 3 Nov 2023 03:28:35 +0800 Subject: Co-authored-by: HadalFauna --- pyproject.toml | 83 +++++++++++++++++----------------------------------------- 1 file changed, 24 insertions(+), 59 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 9c96248..b61b909 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,65 +1,30 @@ -[tool.poetry] +[project] name = "HydroRoll" -version = "0.1.3" -description = "bot framework." -authors = ["简律纯 "] -license = "GPL3.0" +version = "0.1.0" +description = "HydroRoll System." +authors = [ + {name = "简律纯", email = "i@jyunko.cn"}, +] +dependencies = [ + "watchfiles<1.0.0,>=0.18.0", + "iamai>=3.2.3", + "iamai-adapter-cqhttp>=3.2.3", + "iamai-adapter-apscheduler>=3.2.3", + "joblib>=1.3.2", + "randomgen>=1.26.0", + "jieba>=0.42.1", + "scikit-learn>=1.3.1", +] +requires-python = ">=3.8" readme = "README.md" +license = {text = "MIT"} +keywords = ["bot", "qq", "qqbot", "mirai", "coolq"] +classifiers = ["Development Status :: 5 - Production/Stable", "Framework :: Robot Framework", "Framework :: Robot Framework :: Library", "Operating System :: OS Independent", "Programming Language :: Python :: 3"] + +[project.urls] homepage = "https://hydroroll.retrofor.space/" repository = "https://github.com/HydroRoll-Team/hydroroll" documentation = "https://hydroroll.retrofor.space/" -keywords = ["bot", "qq", "qqbot", "mirai", "coolq"] -classifiers = [ - "Development Status :: 5 - Production/Stable", - "Framework :: Robot Framework", - "Framework :: Robot Framework :: Library", - "Operating System :: OS Independent", - "Programming Language :: Python :: 3" -] - -[tool.poetry.dependencies] -watchfiles = "^0.18.0" -python = "^3.8" -iamai = "^3.14" -iamai-adapter-cqhttp = "^0.6" -iamai-adapter-apscheduler = "^0.6" - -[tool.poetry.group.dev.dependencies] -black = "^23.1.0" -isort = "^5.12.0" -pre-commit = "^3.1.0" -pre-commit-hooks = "^4.4.0" - -[tool.black] -target-version = ["py38", "py39", "py310", "py311"] - -[tool.isort] -profile = "black" -length_sort = true -skip_gitignore = true -force_sort_within_sections = true -src_paths = ["hydroroll", "tests"] -extra_standard_library = ["typing_extensions"] - -[tool.pyright] -exclude = ["tests"] -pythonVersion = "3.8" -pythonPlatform = "All" -typeCheckingMode = "strict" -reportImportCycles = false -reportIncompatibleMethodOverride = false -reportMissingTypeArgument = false -reportMissingTypeStubs = false -reportUnknownArgumentType = false -reportUnknownLambdaType = false -reportUnknownMemberType = false -reportUnknownParameterType = false -reportUnknownVariableType = false -reportUnnecessaryIsInstance = false - -[tool.pydantic-pycharm-plugin] -ignore-init-method-arguments = true - [build-system] -requires = ["poetry-core"] -build-backend = "poetry.core.masonry.api" \ No newline at end of file +requires = ["pdm-backend"] +build-backend = "pdm.backend" -- cgit v1.2.3-70-g09d2