PDM-Backend is a build backend that supports the latest packaging standards, which includes:
To use it as PEP 517 build backend, edit your
pyproject.toml as below:
1 2 3
It is recommended to use PDM to manage your project, which will automatically generate the above configuration for you.
Write the project metadata in
pyproject.toml in PEP 621 format:
1 2 3 4 5 6 7 8 9
Then run the build command to build the project as wheel and sdist:
1 2 3
Read the corresponding documentation sections for more details:
- Metadata for how to write the project metadata
- Build configuration for customizing the build process.
pdm-backend is the successor of
pdm-pep517. If you are using the latter for your project, read the migration guide to migrate to
Thanks to all the individuals and organizations who sponsor PDM project!