Hi, On 29 February 2016 at 07:10, artswebserv...@gmail.com <artswebserv...@gmail.com> wrote: > Log: > * typhon/__init__.py: > > Add revision to version number for development releases.
$Revision$ in __init__.py won't work, regrettably. This is only updated when __init__.py is updated, which probably won't be very often. We'd have to run the external command svnversion, but that would require the path to the svn repository so it would have to be done install-time, which means it really would have to be in setup.py. In pyatmlab I use subprocess.run for this effect. Getting it into __version__ is a bit more painful. In numpy, version.py is automatically generated by setup.py, thus adding full_version and git_revision. As it is now, the revision number in typhon isn't very useful since it doesn't get updated between most commits. Gerrit. _______________________________________________ typhon.mi mailing list typhon.mi@lists.uni-hamburg.de https://mailman.rrz.uni-hamburg.de/mailman/listinfo/typhon.mi