anki/qt/aqt/pinnedmodules.py
2020-08-31 12:05:36 +10:00

39 lines
800 B
Python

# Copyright: Ankitects Pty Ltd and contributors
# 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
# pylint: disable=import-error,unused-import
# included implicitly in the past, and relied upon by some add-ons
import cgi
import decimal
# useful for add-ons
import logging
import logging.config
import logging.handlers
# required by requests library
import queue
import typing
import uuid
import PyQt5.QtSvg
import socks
# legacy compat
import anki.storage
import anki.sync
from anki.utils import isLin, isWin
# external module access in Windows
if isWin:
import pythoncom
import pywintypes
import win32com
if isLin:
import fcntl