|
2 | 2 | requires = ["poetry-core>=1.0.0"] |
3 | 3 | build-backend = "poetry.core.masonry.api" |
4 | 4 |
|
5 | | - |
6 | | -# poetry |
7 | | -# ------ |
8 | | - |
9 | | -[tool.poetry] |
| 5 | +[project] |
10 | 6 | name = "listparser" |
11 | 7 | version = "0.20" |
12 | 8 | description = "Parse OPML subscription lists" |
13 | | -authors = ["Kurt McKee <contactme@kurtmckee.org>"] |
| 9 | +authors = [ |
| 10 | + { name = "Kurt McKee", email = "contactme@kurtmckee.org" }, |
| 11 | +] |
14 | 12 | license = "MIT" |
15 | 13 | readme = "README.rst" |
16 | | -repository = "https://github.com/kurtmckee/listparser/" |
17 | | -documentation = "https://listparser.readthedocs.io/en/latest/" |
18 | 14 | keywords = ["opml", "foaf", "feed"] |
19 | 15 | classifiers = [ |
20 | 16 | "Development Status :: 5 - Production/Stable", |
21 | 17 | "Intended Audience :: Developers", |
| 18 | + "License :: OSI Approved :: MIT License", |
| 19 | + "Programming Language :: Python :: 3", |
22 | 20 | "Topic :: Text Processing :: Markup :: XML", |
23 | 21 | ] |
| 22 | +requires-python = ">=3.9" |
24 | 23 |
|
25 | | -[tool.poetry.dependencies] |
26 | | -python = ">=3.9" |
27 | | -# The dependencies here must match the minimums tested in `tox.ini`. |
28 | | -requests = {version = ">=2.32.0,<3", optional = true} |
29 | | -lxml = {version = ">=4.6.2,<6", optional = true} |
| 24 | +[project.urls] |
| 25 | +Repository = "https://github.com/kurtmckee/listparser/" |
| 26 | +Documentation = "https://listparser.readthedocs.io/en/latest/" |
30 | 27 |
|
31 | | -[tool.poetry.extras] |
32 | | -http = ["requests"] |
33 | | -lxml = ["lxml"] |
| 28 | +[project.optional-dependencies] |
| 29 | +# The dependencies here must match the minimums tested in `tox.ini`. |
| 30 | +http = [ |
| 31 | + "requests >=2.32.0, <3", |
| 32 | +] |
| 33 | +lxml = [ |
| 34 | + "lxml >=4.6.2, <6", |
| 35 | +] |
34 | 36 |
|
35 | 37 |
|
36 | 38 | # coverage |
|
0 commit comments