Open wpbonelli opened 1 year ago
I'm generally on-board for this feature. My preference is setuptools_scm, which is similar to versioneer, except that it does not need to be installed into the codebase. The other benefit of setuptools_scm is that when creating a source distribution, it includes the git-tracked files to the sdist.
Is your feature request related to a problem? Please describe. FloPy version updates are already automated,
scripts/update_version.py
just needs to run at release time. Ad hoc versioning can be hard to get right and has limitations though, like providing no information between releases. Finer-grained version strings could be helpful e.g. to trace issues to release vs. development versions or even specific commitsDescribe the solution you'd like Could consider a tool like
versioneer
, maybe once it stabilizes a bit. It usesgit
as the source of truth, so versioning would just involve tagging revisions. From the link above:Describe alternatives you've considered Not changing the current approach, it's simple enough and we need a script to update
README.md
andDISCLAIMER.md
anywayAdditional context Maybe this should be a discussion instead?