import os
import sys

from . import cli

if not __package__:
    # Make CLI runnable from source tree with
    # python src/package
    package_source_path = os.path.dirname(os.path.dirname(__file__))
    sys.path.insert(0, package_source_path)

if __name__ == "__main__":
    cli.run()

