__init__.py

277 B · python · 12 lines

1import os2import sys34# MRLYPY56LIB = os.path.dirname(os.path.abspath(__file__))7ROOT = os.path.normpath(os.path.join(LIB, "..", ".."))89if not os.path.isdir(os.path.join(ROOT, "mrlypy", "six")):10    sys.exit(f"missing mrlypy: expected it at {ROOT}")1112sys.path.insert(0, ROOT)