summaryrefslogtreecommitdiffstats
path: root/PC/layout/__main__.py
blob: 05a059eee7c1d751a9f6f21ac0c2eef1097b25ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import sys

try:
    import layout  # noqa: F401
except ImportError:
    # Failed to import our package, which likely means we were started directly
    # Add the additional search path needed to locate our module.
    from pathlib import Path

    sys.path.insert(0, str(Path(__file__).resolve().parent.parent))

from layout.main import main

sys.exit(int(main() or 0))