Skip to content

Commit 9faf61e

Browse files
committed
Switch to pdm for building
Switch metadata to PEP 621
1 parent 2878d5c commit 9faf61e

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

pyproject.toml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,31 @@
1-
[tool.poetry]
1+
[project]
22
name = "jsonref"
3-
version = "1.0.1"
43
description = "jsonref is a library for automatic dereferencing of JSON Reference objects for Python."
5-
authors = ["Chase Sterling <[email protected]>"]
6-
license = "MIT"
7-
readme = "README.md"
8-
packages = [
9-
{ include = "jsonref.py" },
10-
{ include = "proxytypes.py" },
4+
authors = [
5+
{name = "Chase Sterling", email = "[email protected]"},
116
]
7+
license = {text = "MIT"}
8+
readme = "README.md"
9+
dynamic = ["version"]
10+
requires-python = ">=3.3"
11+
dependencies = []
12+
13+
[project.urls]
1214
repository = "https://github.com/gazpachoking/jsonref"
1315
documentation = "https://jsonref.readthedocs.io/en/latest/"
1416

15-
[tool.poetry.dependencies]
16-
python = ">=3.3"
17+
[tool.pdm.dev-dependencies]
18+
test = ["pytest>=7.1.3"]
1719

18-
[tool.poetry.group.dev.dependencies]
19-
pytest = ">=7.1.3"
20-
21-
[tool.poetry_bumpversion.file."jsonref.py"]
20+
[tool.pdm]
21+
version = { source = "file", path = "jsonref.py" }
22+
[tool.pdm.build]
23+
includes = ["jsonref.py", "proxytypes.py"]
2224

2325
[build-system]
24-
requires = ["poetry-core >= 1.2.0"]
25-
build-backend = "poetry.core.masonry.api"
26+
requires = ["pdm-pep517>=1.0.0"]
27+
build-backend = "pdm.pep517.api"
2628

2729
[tool.isort]
2830
profile = "black"
31+

0 commit comments

Comments
 (0)