Skip to content

Dynamic version of my project #3385

Description

@AntonArsentiev

Hello everyone!

I would like to have dynamic version for my project.

My steps:

  1. [project] name = "fuzzy_search_api" dynamic = ["version"]
  2. [build-system] requires = ["pdm-backend"] build-backend = "pdm.backend"
  3. [tool.pdm.version] source = "scm" version_format = "fuzzy_search_api.version:format_version"

And when i try to call pdm install i get error like [BuildError]: Build backend raised error: Module 'fuzzy_search_api' is missing, please make sure it is specified in the 'build-system.requires' section. If it is not possible, add it to the project and use '--no-isolation' option.. What i do wrong?

PS: i use pdm first time :)

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