(snip)
$> python -c 'from distutils.version import LooseVersion as LV; print LV("0.17") < 
LV("0.17.beta1")'
True

it is ignorant about suffixes like .beta (thus above result) but is robust
enough in general and should work for your case I guess with min 0.14 version.
I've re-done the change using LooseVersion:
https://www.xpra.org/trac/changeset/1205

The diff against the previous code (instead of what I had merged since) is here:
https://www.xpra.org/trac/changeset?old_path=%2Ftrunk%2Fsrc%2Fsetup.py&old=1203&new_path=%2Ftrunk%2Fsrc%2Fsetup.py&new=1205

Let me know if this works/looks ok to you and I'll apply to the stable 0.3.x and 0.4.x branches.

Thanks
Antoine


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to