Skip to content

Commit 809d473

Browse files
committed
Backport PC/layout
1 parent e361063 commit 809d473

14 files changed

Lines changed: 1347 additions & 0 deletions

File tree

PC/layout/__init__.py

Whitespace-only changes.

PC/layout/__main__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import os
2+
import sys
3+
4+
try:
5+
import layout
6+
except ImportError:
7+
# Failed to import our package, which likely means we were started directly
8+
# Add the additional search path needed to locate our module.
9+
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
10+
11+
from layout.main import main
12+
13+
sys.exit(int(main() or 0))

0 commit comments

Comments
 (0)