-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Description
Description of feature
Adopt some sort of tool to directly grab the version string from the git tag, instead of hard-coding it manually in the code. I think we've all made mistakes in versioning and the __version__
is not guaranteed to be 100% correct.
Note that this applies to all MDOLab-related packages so perhaps this is a worthy topic at the maintenance meeting? CC @eirikurj. I'd be happy to help prototype/implement.
Potential solution
Candidates include
- setuptools_scm which I have successfully used in the past
- versioneer which has more stars but has not had a release in ~2 years.
- bump-my-version (previously bump2version) can be applied manually or part of a build process
Metadata
Metadata
Assignees
Labels
No labels