Skip to content

Commit

Permalink
chore(build): Switch to pdm-backend, use dynamic version
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Jul 16, 2024
1 parent c6d868c commit 1eec32e
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[project]
name = "acres"
version = "0.1.0"
description = "Access resources on your terms"
authors = [
{name = "The NiPreps Developers", email = "[email protected]"}
Expand All @@ -22,21 +21,21 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ["version"]

[build-system]
requires = ["flit_core>=3.2,<4"]
build-backend = "flit_core.buildapi"

[tool.flit.sdist]
include = [
"LICENSE",
"tox.ini",
"tests/",
]
requires = ["pdm-backend"]
build-backend = "pdm.backend"

[tool.pdm]
distribution = true

[tool.pdm.build.sdist]
includes = ["tox.ini"]

[tool.pdm.version]
source = "scm"

[tool.ruff]
line-length = 99

Expand Down

0 comments on commit 1eec32e

Please sign in to comment.