Anki/qt/aqt/_macos_helper.py
Damien Elmes cd411927cc Split libankihelper into a separate module
It's rarely updated, and the old approach resulted in a 'proper' aqt
build only being done on a Mac.
2025-06-20 16:13:49 +07:00

13 lines
342 B
Python

# Copyright: Ankitects Pty Ltd and contributors
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
from __future__ import annotations
import sys
if sys.platform == "darwin":
from anki_mac_helper import ( # pylint:disable=unused-import,import-error
macos_helper,
)
else:
macos_helper = None