There's a rather large dependency tree for calibre (
http://calibre-ebook.com/download_linux#dependencies), the one most likely to trip you being PyQt4.
For an (old), but working example, see what Jesse Vincent did back in 2009 with Savory:
http://savory.googlecode.com/