[Biopython-dev] determining the version

Peter biopython at maubp.freeserve.co.uk
Thu Feb 19 15:07:30 UTC 2009


On Thu, Feb 19, 2009 at 2:44 PM, Bruce Southey <bsouthey at gmail.com> wrote:
>
> Hi,
> Yes, version information must be included!
>
> I like numpy's approach because the version will display a svn-related
> number when using a developmental version. It is rather clever because the
> real magic occurs with distutils to found the actual svn version (see
> _get_svn_revision function in the distutils/misc_util.py file).
>
> But I do not know if the same tricks would apply to cvs. So the one thing I
> would ask for is that the __version__ gets changed immediately after a
> release so it is clear if you are using an official release or a cvs
> version. I know that will be a little extra burden on the release
> maintainer.

Given we probably will be moving from CVS to SVN shortly, there
doesn't seem to be much point in setting up any "magic" at this point
in time.  We already manually update the version number in setup.py as
part of the build process, so with this change we'll just have to
update Bio/__init__.py instead.

Peter



More information about the Biopython-dev mailing list