{"library":"pdm-backend","code":"# my_project/pyproject.toml\n[project]\nname = \"my-package\"\nversion = \"0.1.0\"\ndynamic = [\"dependencies\", \"optional-dependencies\"]\ndescription = \"A minimal example package\"\nrequires-python = \">=3.9\"\nlicense = { text = \"MIT\" }\nauthors = [\n    { name = \"Your Name\", email = \"your@example.com\" }\n]\n\n[build-system]\nrequires = [\"pdm-backend\"]\nbuild-backend = \"pdm.backend\"\n\n# my_project/src/my_package/__init__.py\n__version__ = \"0.1.0\"\n\n# To build the package (run from my_project directory):\n# 1. Ensure PDM is installed: pip install pdm\n# 2. Run the build command:\n#    pdm build\n# Or using the standard 'build' tool:\n#    pip install build\n#    python -m build","lang":"toml","description":"This quickstart demonstrates how to configure `pdm-backend` in a `pyproject.toml` file for a simple Python package. It defines basic project metadata and specifies `pdm-backend` as the build backend. After setting up the `pyproject.toml` and a minimal package structure, you can build your project's wheel and sdist using the `pdm build` command or the standard `python -m build` tool.","tag":null,"tag_description":null,"last_tested":"2026-04-24","results":[{"runtime":"python:3.10-alpine","exit_code":1},{"runtime":"python:3.10-slim","exit_code":1},{"runtime":"python:3.11-alpine","exit_code":1},{"runtime":"python:3.11-slim","exit_code":1},{"runtime":"python:3.12-alpine","exit_code":1},{"runtime":"python:3.12-slim","exit_code":1},{"runtime":"python:3.13-alpine","exit_code":1},{"runtime":"python:3.13-slim","exit_code":1},{"runtime":"python:3.9-alpine","exit_code":1},{"runtime":"python:3.9-slim","exit_code":1}]}