2019-02-05 04:59:03 +01:00
|
|
|
# Copyright: Ankitects Pty Ltd and contributors
|
2018-12-14 11:32:53 +01:00
|
|
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
|
|
|
|
# this file is imported as part of the bundling process to ensure certain
|
|
|
|
# modules are included in the distribution
|
|
|
|
|
2019-03-04 08:25:19 +01:00
|
|
|
# pylint: disable=import-error,unused-import
|
2019-03-04 02:22:40 +01:00
|
|
|
|
2018-12-14 11:32:53 +01:00
|
|
|
# required by requests library
|
|
|
|
import queue
|
|
|
|
|
|
|
|
from anki.utils import isWin
|
|
|
|
|
|
|
|
# external module access in Windows
|
|
|
|
if isWin:
|
|
|
|
import pythoncom
|
|
|
|
import win32com
|
|
|
|
import pywintypes
|
|
|
|
|
|
|
|
# included implicitly in the past, and relied upon by some add-ons
|
|
|
|
import cgi
|
|
|
|
import uuid
|
2019-08-13 11:08:49 +02:00
|
|
|
|
|
|
|
# useful for add-ons
|
|
|
|
import logging
|
|
|
|
import logging.handlers
|
|
|
|
import logging.config
|