pin pyaudio and qtmultimedia

This commit is contained in:
Damien Elmes 2020-12-18 19:55:52 +10:00
parent 038f0a10ec
commit 3840686241

View file

@ -1,10 +1,14 @@
# Copyright: Ankitects Pty Ltd and contributors # Copyright: Ankitects Pty Ltd and contributors
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html # License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
# pylint: disable=import-error,unused-import
"""
# this file is imported as part of the bundling process to ensure certain # this file is imported as part of the bundling process to ensure certain
# modules are included in the distribution # modules are included in the distribution
# pylint: disable=import-error,unused-import isort:skip_file
"""
# included implicitly in the past, and relied upon by some add-ons # included implicitly in the past, and relied upon by some add-ons
import cgi import cgi
@ -21,12 +25,17 @@ import queue
import typing import typing
import uuid import uuid
# other modules we require that may not be automatically included
import PyQt5.QtSvg import PyQt5.QtSvg
import PyQt5.QtMultimedia
import socks import socks
import pyaudio
# legacy compat # legacy compat
import anki.storage import anki.storage
import anki.sync import anki.sync
# platform-specifics
from anki.utils import isLin, isMac, isWin from anki.utils import isLin, isMac, isWin
if isWin: if isWin:
@ -38,7 +47,3 @@ if isWin:
if isLin: if isLin:
# file locking # file locking
import fcntl import fcntl
if isMac:
# recording
import PyQt5.QtMultimedia