Skip to content

Dynamic metadata in the project section #52

@TonyXiang8787

Description

@TonyXiang8787

The PEP621 allows you to specify certain project metadata as dynamic. See the official example here.

[project]
dynamic = ["version"]

The build back-end should have some logic to generate the dynamic version. In setuptools this can be achieved by:

[tool.setuptools.dynamic]
version = { file = "VERSION" }

It parse the file VERSION.

How can py-build-cmake generate dynamic version and other metadata?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions