# -*- coding: utf-8 -*-
"""
@file
@brief Module *actuariat_python*.
It contains material for lectures,
lessons on programming, machine learning.
"""

import sys
import os

__version__ = "0.5.651"
__author__ = "Xavier Dupré"
__github__ = "https://github.com/sdpython/actuariat_python"
__url__ = "http://www.xavierdupre.fr/app/actuariat_python/helpsphinx/index.html"
__license__ = "MIT License"
__blog__ = os.path.abspath(
    os.path.join(os.path.dirname(__file__), "rss_teachings.xml"))


def _setup_hook():
    """
    does nothing
    """
    pass


def check(log=False):
    """
    Checks the library is working.
    It raises an exception.

    @param      log     if True, display information, otherwise
    @return             0 or exception
    """
    return True
