From fc2d6fae8742d9d4dc8de77598b142dd0011ef13 Mon Sep 17 00:00:00 2001 From: Konstantin Ponomarev Date: Wed, 13 Aug 2025 17:49:19 +0300 Subject: [PATCH] fix: poetry pyproject.toml --- pyproject.toml | 32 +++++++------------------------- 1 file changed, 7 insertions(+), 25 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 71db701..f8c6779 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,34 +1,16 @@ -[project] -name = "fastsio" -version = "0.0.1" -description = "light and typization Socket.IO server and client for Python" -license = "MIT" -readme = "README.md" -homepage = "https://github.com/cicwak/fastsio" -repository = "https://github.com/cicwak/fastsio" -packages = [ - { include = "fastsio", from = "src" }, -] -authors = [ - "Miguel Grinberg ", - "Konstantin Ponomarev ", -] - [tool.poetry] name = "fastsio" -version = "0.0.1" +version = "0.0.1" # будет перезаписываться GitHub Actions по тегу description = "light and typization Socket.IO server and client for Python" license = "MIT" readme = "README.md" homepage = "https://github.com/cicwak/fastsio" repository = "https://github.com/cicwak/fastsio" -packages = [ - { include = "fastsio", from = "src" }, -] authors = [ - "Miguel Grinberg ", - "Konstantin Ponomarev ", + "Miguel Grinberg ", + "Konstantin Ponomarev ", ] +packages = [{ include = "fastsio", from = "src" }] [project.readme] file = "README.md" @@ -78,8 +60,8 @@ where = [ namespaces = false [build-system] -requires = ["setuptools >= 77.0.3"] -build-backend = "setuptools.build_meta" +requires = ["poetry-core>=1.8.0"] +build-backend = "poetry.core.masonry.api" [tool.pytest.ini_options] asyncio_mode = "auto" @@ -114,7 +96,7 @@ ignore = ["D203", "D213"] convention = "google" [tool.ruff.lint.isort] -known-first-party = ["fast_socketio"] +known-first-party = ["fastsio"] combine-as-imports = true [tool.ruff.lint.flake8-tidy-imports]