Remove vendored copy of feedparser

This commit is contained in:
Kovid Goyal 2019-02-07 10:52:48 +05:30
parent 362a3f4088
commit 0c77b8503a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 13 additions and 4000 deletions

View File

@ -38,6 +38,19 @@ if not _run_once:
sys.meta_path.insert(0, PyQt4Ban())
class DeVendor(object):
def find_module(self, fullname, path=None):
if fullname == 'calibre.web.feeds.feedparser':
return self
def load_module(self, fullname):
if fullname == 'calibre.web.feeds.feedparser':
from importlib import import_module
return import_module('feedparser')
sys.meta_path.insert(0, DeVendor())
#
# Platform specific modules
if iswindows:

File diff suppressed because it is too large Load Diff