Created
August 13, 2024 11:37
-
-
Save drazisil/d8ba3fa31bd48f3d5b094eea38bf25eb to your computer and use it in GitHub Desktop.
fix: enable pdm to build itself for tools like pytest can find it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pyproject.toml | 5 +++-- | |
1 file changed, 3 insertions(+), 2 deletions(-) | |
diff --git a/pyproject.toml b/pyproject.toml | |
index c27dd99..67c08fc 100644 | |
--- a/pyproject.toml | |
+++ b/pyproject.toml | |
@@ -16,8 +16,9 @@ readme = "README.md" | |
license = {text = "MIT"} | |
-[tool.pdm] | |
-distribution = false | |
+[build-system] | |
+requires = ["pdm-backend"] | |
+build-backend = "pdm.backend" | |
[tool.pdm.dev-dependencies] | |
dev = [ | |
-- | |
2.43.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment