Skip to content

Unclarity in Single-sourcing version option 1 #1069

@soxofaan

Description

@soxofaan

There are many techniques to maintain a single source of truth for the version
number of your project:
#. Read the file in :file:`setup.py` and get the version. Example (from `pip setup.py

states:

Read the file in ...

but it's not clear which file (there is no preceding discussion about a file).
The meaning can be somewhat guessed from the code snippet below it, but that limits the interpretation to package/__init__.py, while it could be applied to other options too (e.g. package/version.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions