To provide the most recent news and documentation www.pymvpa.org reflects the
development 2.0 series (renamed 0.6 series) of PyMVPA. If you are interested in the
documentation of the previous stable 0.4 series of PyMVPA, please
visit v04.pymvpa.org.
class mvpa2.base.externals.SmartVersion(vstring=None)¶
A bit evolved comparison of versions
The reason for not using python’s distutil.version is that it
seems to have no clue about somewhat common conventions of using
‘-dev’ or ‘dev’ or ‘rc’ suffixes for upcoming releases (so major
version does contain upcoming release already).
So here is an ad-hoc and not as nice implementation