blob: 299be162dd6f42a6aacb0f4d46ad2efbba1c7272 [file] [log] [blame]
Joey Armstrong0c517b52023-07-07 17:29:54 -04001# -*- python -*-
2'''Augment searchpath for import.'''
3
4##-------------------##
5##---] IMPORTS [---##
6##-------------------##
7import sys
8from pathlib import Path
9
10## ---------------------------------------
11## Artificial scope created for local vars
12## ---------------------------------------
13# pylint: disable=invalid-name
14# pylint: disable=using-constant-test
15if True:
16 mod_path = Path('..').resolve().as_posix()
17 if mod_path not in sys.path:
18 sys.path.insert(0, mod_path)
19
20# [EOF]