Skip to content

Commit acd3f7c

Browse files
committed
Migrate pyproject.toml to PEP 621 format
1 parent 49247bc commit acd3f7c

2 files changed

Lines changed: 29 additions & 84 deletions

File tree

poetry.lock

Lines changed: 4 additions & 68 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,40 @@
1-
[tool.poetry]
1+
[project]
22
name = "pytest_httpserver"
33
version = "1.1.3"
44
description = "pytest-httpserver is a httpserver for pytest"
5-
authors = ["Zsolt Cserna <cserna.zsolt@gmail.com>"]
6-
license = "MIT"
75
readme = "README.md"
8-
documentation = "https://pytest-httpserver.readthedocs.io/en/latest/"
6+
license = "MIT"
7+
authors = [
8+
{ name = "Zsolt Cserna", email = "cserna.zsolt@gmail.com" }
9+
]
910
classifiers = [
1011
"Development Status :: 3 - Alpha",
1112
"Intended Audience :: Developers",
1213
"Operating System :: OS Independent",
14+
"Programming Language :: Python :: 3",
15+
"Programming Language :: Python :: 3.10",
16+
"Programming Language :: Python :: 3.11",
17+
"Programming Language :: Python :: 3.12",
18+
"Programming Language :: Python :: 3.13",
19+
"Programming Language :: Python :: 3.14",
1320
"Topic :: Software Development :: Libraries :: Python Modules",
1421
"Framework :: Pytest",
1522
]
16-
repository = "https://github.com/csernazs/pytest-httpserver"
23+
requires-python = ">=3.10"
24+
dependencies = [
25+
"Werkzeug >= 2.0.0",
26+
]
27+
28+
[project.urls]
29+
Homepage = "https://github.com/csernazs/pytest-httpserver"
30+
Documentation = "https://pytest-httpserver.readthedocs.io/en/latest/"
31+
Repository = "https://github.com/csernazs/pytest-httpserver"
32+
"Bug Tracker" = "https://github.com/csernazs/pytest-httpserver/issues"
33+
34+
[project.entry-points.pytest11]
35+
pytest_httpserver = "pytest_httpserver.pytest_plugin"
1736

37+
[tool.poetry]
1838
include = [
1939
{ path = "tests", format = "sdist" },
2040
{ path = "CHANGES.rst", format = "sdist" },
@@ -23,17 +43,6 @@ include = [
2343
{ path = "doc", format = "sdist" },
2444
]
2545

26-
[tool.poetry.dependencies]
27-
python = ">=3.10"
28-
Werkzeug = ">= 2.0.0"
29-
30-
31-
[tool.poetry.plugins.pytest11]
32-
pytest_httpserver = "pytest_httpserver.pytest_plugin"
33-
34-
[tool.poetry.urls]
35-
"Bug Tracker" = "https://github.com/csernazs/pytest-httpserver/issues"
36-
3746
[tool.poetry.group.develop]
3847
optional = true
3948

0 commit comments

Comments
 (0)