[Distutils] dev versions

Reinout van Rees reinout at vanrees.org
Mon Oct 12 08:53:23 CEST 2009


On 2009-10-08, Ian Bicking <ianb at colorstudy.com> wrote:
>
> So after creating, say, version 0.3.1, I always mark a package as 0.3.2dev.
> But this is annoying, you might never create a version 0.3.2 (e.g., 0.4
> might be the next level).  So, it would be better to use something like
> 0.3.1~dev.  What is considered best practice for this?  Ideally something
> that works with both Setuptools and the upcoming Distribute version spec.


a) Where's the annoyment exactly? It is easy to change and it's a release-time
   decision anyway.

b) In a previous discussion on a zope mailinglist (about using '0' for this
   purpose, which was pretty much shot down for the zope toolkit because of
   the problems attached to it), someone mentioned adding '+svn' to the
   previous version number.  So from 0.3.1 to 0.3.1+svn.  Apparently that
   sorts it behind 0.3.1.  You could try something like that.  The poster
   mentioned it as a debian standard.


Reinout


-- 
Reinout van Rees - reinout at vanrees.org - http://reinout.vanrees.org
Software developer at http://www.thehealthagency.com
"Military engineers build missiles. Civil engineers build targets"



More information about the Distutils-SIG mailing list