mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00

https://anki.tenderapp.com/discussions/ankidesktop/35444-python-standard-library-availability-in-anki
27 lines
650 B
Python
27 lines
650 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
|
|
|
|
# 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
|
|
|
|
# useful for add-ons
|
|
import logging
|
|
import logging.handlers
|
|
import logging.config
|