Skip to content

Commit

Permalink
Switch to pdm for building
Browse files Browse the repository at this point in the history
Switch metadata to PEP 621
  • Loading branch information
gazpachoking committed Nov 12, 2022
1 parent 2878d5c commit 9faf61e
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
[tool.poetry]
[project]
name = "jsonref"
version = "1.0.1"
description = "jsonref is a library for automatic dereferencing of JSON Reference objects for Python."
authors = ["Chase Sterling <chase.sterling@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [
{ include = "jsonref.py" },
{ include = "proxytypes.py" },
authors = [
{name = "Chase Sterling", email = "chase.sterling@gmail.com"},
]
license = {text = "MIT"}
readme = "README.md"
dynamic = ["version"]
requires-python = ">=3.3"
dependencies = []

[project.urls]
repository = "https://github.com/gazpachoking/jsonref"
documentation = "https://jsonref.readthedocs.io/en/latest/"

[tool.poetry.dependencies]
python = ">=3.3"
[tool.pdm.dev-dependencies]
test = ["pytest>=7.1.3"]

[tool.poetry.group.dev.dependencies]
pytest = ">=7.1.3"

[tool.poetry_bumpversion.file."jsonref.py"]
[tool.pdm]
version = { source = "file", path = "jsonref.py" }
[tool.pdm.build]
includes = ["jsonref.py", "proxytypes.py"]

[build-system]
requires = ["poetry-core >= 1.2.0"]
build-backend = "poetry.core.masonry.api"
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"

[tool.isort]
profile = "black"

0 comments on commit 9faf61e

Please sign in to comment.