Rip out the SQLite part, we now use calibredb instead.
Remove all traces of sqlite3. Remove pp as well.