Skip to content

Need dynamic=["version"] in pyproject.toml #370

Description

@relativistic

If I switch to using versioneer from a hard set version number in pyproject.toml, pip install complains that you need a version number defined under the [project] table in pyproject.toml.

The fix seems to be to add a line dynamic=["version"] under [project]. Maybe this should be added to the versioneer docs for a toml based configuration? If it's there I am not seeing it.

Note that I am new to pyproject.toml based configurations (trying to transition from setup.py for my latest project), so I may be missing something here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions