1import sys
2from os import path
3
4here = path.dirname(path.abspath(__file__))
5
6if __name__ == "__main__":
7    if here not in sys.path:
8        sys.path.insert(0, here)
9
10    for key in tuple(filter(lambda m: m.startswith("lvglgdb"), sys.modules.keys())):
11        del sys.modules[key]
12
13    import lvglgdb  # noqa: F401
14