Just a note: setuptools doesn't sort versions alphabetically, therefore
versions with letters should be treated with care (or you'll never know
what ``easy_install`` will use as a newer version).

import pkg_resources
v = pkg_resources.parse_version
v('0.9dev') < v('0.9a') < v('0.9pre') < v('0.9rc1') < v('0.9')==v('0.9.0')




_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to