diff --git a/pyproject.toml b/pyproject.toml index 308bac9af203da6efbb3cdf4a7112fbf3ac62ca6..955bc13132c6838aed01a40ae267d8081e5d6dd6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,31 +1,38 @@ -[tool] -[tool.poetry] +[project] name = "duniterpy" version = "1.2.0" description = "Python library for developers of Duniter clients" -authors = ["inso <insomniak.fr@gmail.com>", "canercandan", "s_b"] -maintainers = ["vit <vit@free.fr>", "Moul <moul@moul.re>"] +license = { text = "GPL-3.0-or-later" } readme = "README.md" -license = "GPL-3.0-or-later" +requires-python = ">=3.9,<4.0" +authors = [ + { name = "inso", email = "insomniak.fr@gmail.com"}, + { name = "canercandan"}, +] +maintainers = [ + { name = "vit, Vincent Texier", email = "vit@free.fr"}, + { name = "Moul, Maël Azimi", email = "moul@moul.re"} +] +keywords = ["g1", "duniter", "cryptocurrency", "librecurrency", "library"] +dynamic = ["classifiers", "dependencies"] + +[tool.urls] repository = "https://git.duniter.org/clients/python/duniterpy" documentation = "https://clients.pages.duniter.org/python/duniterpy/index.html" -urls = { Changelog = "https://git.duniter.org/clients/python/duniterpy/-/blob/main/CHANGELOG.md" } -keywords = ["g1", "duniter", "cryptocurrency", "librecurrency", "library"] -include = ["examples/*.py"] +"changelog" = "https://git.duniter.org/clients/python/duniterpy/-/blob/main/CHANGELOG.md" + +[tool.poetry] +requires-poetry = ">=2.0" +include = [{path="examples/*.py", format=["sdist", "wheel"]}] classifiers = [ "Development Status :: 5 - Production/Stable", "Natural Language :: English", "Operating System :: OS Independent", - "Topic :: Software Development :: Libraries", + "Topic :: Software Development :: Libraries :: Python Modules", "Intended Audience :: Developers", ] -[build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" - [tool.poetry.dependencies] -python = "^3.9.0" graphql-core = "^3.2.3" websocket-client = "^1.5.2" jsonschema = "^4.17.3" @@ -48,6 +55,10 @@ optional = true sphinx = "^6.2.1" sphinx_rtd_theme = "^1.2.0" +[build-system] +requires = ["poetry-core>=2.0.0,<3.0.0"] +build-backend = "poetry.core.masonry.api" + [tool.isort] profile = "black" src_paths = ["duniterpy", "tests", "examples"]