def add_coconut_to_path():
    """Adds coconut to sys.path if it isn't there already."""
    try:
        import coconut  # NOQA
    except ImportError:
        sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
Adds coconut to sys.path if it isn't there already.