build(python): update pyproject.toml format
This commit is contained in:
@@ -1,40 +1,40 @@
|
||||
[tool.poetry]
|
||||
[project]
|
||||
name = "gallery"
|
||||
version = "0.5.2"
|
||||
description = ""
|
||||
authors = ["shmyga <shmyga.z@gmail.com>"]
|
||||
version = "0.5.2"
|
||||
readme = "README.md"
|
||||
authors = [{ name = "shmyga", email = "shmyga.z@gmail.com" }]
|
||||
requires-python = '>=3.14,<4.0'
|
||||
dependencies = [
|
||||
'aiohttp (>=3.14,<4.0)',
|
||||
'beautifulsoup4 (>=4.15,<5.0)',
|
||||
'dateparser (>=1.4,<2.0)',
|
||||
'pydantic (>=2.13,<3.0)',
|
||||
'aiocache[redis] (>=0.12,<0.13)',
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
app = [
|
||||
"fastapi[standard] (>=0.139,<0.140)",
|
||||
"jinja2 (>=3.1,<4.0)",
|
||||
"babel (>=2.18,<3.0)",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
test = ["pytest (>=9.1,<10.0)", "pytest-asyncio (>=1.4,<2.0)"]
|
||||
dev = ["pylint (>=4.0.6,<5.0.0)", "black (>=26.5,<27.0)", "isort (>=8.0,<9.0)"]
|
||||
|
||||
[project.scripts]
|
||||
gallery = "gallery.main:run"
|
||||
|
||||
[tool.poetry]
|
||||
packages = [{ include = "gallery" }]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.14"
|
||||
aiohttp = "^3.14"
|
||||
beautifulsoup4 = "^4.15"
|
||||
dateparser = "^1.4"
|
||||
pydantic = "^2.13"
|
||||
aiocache = { extras = ["redis"], version = "^0.12" }
|
||||
|
||||
[tool.poetry.group.app.dependencies]
|
||||
fastapi = {extras = ["standard"], version = "^0.139.0"}
|
||||
jinja2 = "^3.1"
|
||||
babel = "^2.18"
|
||||
|
||||
[tool.poetry.group.test.dependencies]
|
||||
pytest = "^9.1"
|
||||
pytest-asyncio = "^1.4"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
pylint = "^4.0"
|
||||
black = "^26.5"
|
||||
isort = "^8.0"
|
||||
requires-poetry = '>=2.0.0,<3.0.0'
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
requires = ['poetry-core (>=2.0.0,<3.0.0)']
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
gallery = "gallery.main:run"
|
||||
|
||||
[tool.black]
|
||||
line-length = 120
|
||||
|
||||
|
||||
Reference in New Issue
Block a user