Skip to content

[FR] pyproject: dynamic: Allow attr for description and other dynamic metadata #5053

@Salamandar

Description

@Salamandar

What's the problem this feature will solve?

It is specified here (and in the jsonschema file):
https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#dynamic-metadata

that dynamic metadatas description, classifiers, entry-points, dependencies, optional-dependencies can only be read from a static file.

Describe the solution you'd like

I would like at least description to be read from an attribute just like version, it doesn't make sense to restrict it to a file.

Alternative Solutions

No response

Additional context

No response

Code of Conduct

  • I agree to follow the PSF Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs TriageIssues that need to be evaluated for severity and status.enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions