Open glyph opened 7 years ago
(https://pypi.org/project/incremental/ for those who do not already know)
Hi @glyph, have you seen Versioneer?
I am not familiar with incremental, but it looks like you still have to call it whenever you need a new version. The cool thing about Versioneer is that it manages the version based on the VCS tree. Once it is "installed" in the package, you do not have to worry about it.
As we naturally git tag
when we make a new release, every time the version is requested, Versioneer will retrieve it based on the latest tag. The version is relative to the tag so that any change to the repo has a unique version such as 0.11+2.g1076c97
for commits after tag 0.11
or even 0.11+2.g1076c97.dirty
for uncommitted changes after those commits.
@felipedau Yes, I have. Incremental manages other aspects of the versioning process, such as runtime version comparison, and updating API documentation when releases occur. I know the authors of both packages :).
On Sun, Mar 05, 2017 at 10:34:25PM -0800, Glyph wrote:
@felipedau Yes, I have. Incremental manages other aspects of the versioning process, such as runtime version comparison, and updating API documentation when releases occur. I know the authors of both packages :).
Oh, very interesting! I should have read more about incremental :P I will definitely take a look into it.
Thanks!
hey @hawkowl. what's up