e58646909f
It's no longer necessary to copy everything into bazel-copy, and you can safely remove that folder.
21 lines
418 B
Python
21 lines
418 B
Python
#!/usr/bin/env python3
|
|
# Copyright: Ankitects Pty Ltd and contributors
|
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
import os
|
|
import sys
|
|
|
|
try:
|
|
import bazelfixes
|
|
|
|
bazelfixes.fix_pywin32_in_bazel()
|
|
bazelfixes.fix_extraneous_path_in_bazel()
|
|
bazelfixes.fix_run_on_macos()
|
|
except ImportError:
|
|
pass
|
|
|
|
import aqt
|
|
|
|
if not os.environ.get("ANKI_IMPORT_ONLY"):
|
|
aqt.run()
|