import os
import sys

# Allow running the package from the project checkout without installing it first.
# The actual importable package lives one directory above the checkout root.
repo_checkout = os.path.dirname(__file__)
parent_dir = os.path.dirname(repo_checkout)
if parent_dir not in sys.path:
    sys.path.insert(0, parent_dir)
