Skip to content

Commit 53b8b08

Browse files
committed
conform to poetry 2.0 and PEP 621
1 parent 7e8a0ab commit 53b8b08

2 files changed

Lines changed: 20 additions & 16 deletions

File tree

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
sys.path.insert(0, path.abspath(".."))
1515

1616
project = "python-qbreader"
17-
copyright = "2023, Sky Hong, Rohan Arni, Geoffrey Wu"
17+
copyright = "2024, Sky Hong, Rohan Arni, Geoffrey Wu"
1818
author = "Sky Hong, Rohan Arni, Geoffrey Wu"
1919
release = qbreader.__version__
2020

pyproject.toml

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,40 @@
1-
[tool.poetry]
1+
[project]
22
name = "qbreader"
33
version = "1.0.0"
4+
requires-python = ">=3.13"
45
description = "Quizbowl library and Python wrapper for the qbreader API"
56
authors = [
6-
"Sky \"skysomorphic\" Hong <skysomorphic@pm.me>",
7-
"Rohan Arni",
8-
"Geoffrey Wu <geoffreywu1000@gmail.com>",
7+
{ name = "Sky \"skysomorphic\" Hong", email = "skysomoprhic@pm.me" },
8+
{ name = "Rohan Arni" },
9+
{ name = "Geoffrey Wu", email = "geoffreywu1000@gmail.com" },
10+
]
11+
maintainers = [
12+
{ name = "Sky \"skysomorphic\" Hong", email = "skysomorphic@pm.me" },
13+
{ name = "Geoffrey Wu", email = "geoffreywu1000@gmail.com" },
914
]
10-
license = "MIT"
15+
license = { text = "MIT" }
1116
readme = "README.md"
17+
keywords = ["quizbowl", "quiz bowl", "qbreader"]
18+
dynamic = ["classifiers"]
19+
dependencies = ["requests (>=2.31.0,<3.0.0)", "aiohttp (>=3.8.4,<4.0.0)"]
20+
21+
[project.urls]
1222
homepage = "https://github.com/qbreader/python-module"
1323
repository = "https://github.com/qbreader/python-module"
1424
documentation = "https://python-qbreader.readthedocs.io/"
15-
keywords = ["quizbowl", "quiz bowl", "qbreader"]
25+
26+
[tool.poetry]
1627
classifiers = [
1728
"Development Status :: 5 - Production/Stable",
1829
"Intended Audience :: Developers",
1930
"Intended Audience :: Education",
2031
"Intended Audience :: Science/Research",
21-
"Programming Language :: Python :: 3.13",
2232
"Operating System :: OS Independent",
2333
"Topic :: Games/Entertainment",
2434
"Topic :: Software Development :: Libraries :: Python Modules",
2535
"Typing :: Typed",
26-
"License :: OSI Approved :: MIT License",
2736
]
28-
29-
[tool.poetry.dependencies]
30-
python = "^3.13"
31-
requests = "^2.31.0"
32-
aiohttp = "^3.8.4"
33-
37+
include = [{ path = "tests", format = "sdist" }]
3438

3539
[tool.poetry.group.dev.dependencies]
3640
black = "^23.3.0"
@@ -65,5 +69,5 @@ testpaths = "tests"
6569
asyncio_mode = "strict"
6670

6771
[build-system]
68-
requires = ["poetry-core>=1.0.0"]
72+
requires = ["poetry-core>=2.0."]
6973
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)