#!/usr/bin/env python

"""
This is the standard runscript for all of calibre's tools.
Do not modify it unless you know what you are doing.
"""

import sys

import os
sys.path.insert(0, '/usr/lib/calibre')
sys.path.insert(0, os.path.join('/usr/lib/calibre', 'calibre', 'utils'))
import complete
sys.path = sys.path[1:]

sys.resources_location = '/usr/share/calibre'
sys.extensions_location = '/usr/lib/calibre/calibre/plugins'
sys.exit(complete.main())
