How to get version of Calibre being run from within plugin?
View Single Post
04-13-2011, 03:36 PM
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
from calibre.constants import numeric_version
Search Calibre for numeric_version to find the usages. It is basically a tuple like (0, 7, 54) that you can just do operator comparisons with. Plugin updater makes use of it.
View Public Profile
Find More Posts by kiwidude
Track Posts by kiwidude via RSS