Hi,
In
http://peak.telecommunity.com/DevCenter/setuptools#specifying-your-project-s-version
there is a statement that 2.1-rc2 means you've already released 2.1
and an example
"""
....
>>> parse_version('2.1-rc2') < parse_version('2.1')
False
....
"""
Running the example gives quite the opposite result (setuptools-0.6c11):
>>> parse_version('2.1-rc2') < parse_version('2.1')
True
and actually it turns out that a pre-release tag 2.1rc2 is equal to
the post-release tag 2.1-rc2
>>> parse_version('2.1-rc2') == parse_version('2.1rc2')
True
Does anyone have any idea why that's the case or is it a bug?
Cheers,
Ruslan
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig