<commit_before>"""
@file
@brief Builds a setup for the teachings: actuariat_python
"""
try:
    import pymyinstall
except ImportError:
    import sys
    sys.path.append("../pymyinstall/src")
    import pymyinstall

try:
    import pyquickhelper
except ImportError:
    import sys
    sys.path.append("../pyquickhelper/src")
    import pyquickhelper


if __name__ == "__main__":
    import sys
    sys.path.append("src")
    from pyquickhelper import fLOG
    fLOG(OutputPrint=True)

    from actuariat_python.automation.win_setup_helper import last_function
    from pymyinstall import win_python_setup, installation_ensae, installation_teachings

    list_modules = installation_ensae() + installation_teachings()

    win_python_setup(module_list=list_modules, verbose=True,
                     download_only=False,
                     no_setup=False,
                     last_function=last_function,
                     selection={"R", "VS"},
                     documentation=False,
                     fLOG=fLOG)<commit_msg>update build setup<commit_after>"""
@file
@brief Builds a setup for the teachings: actuariat_python
"""
try:
    import pymyinstall
except ImportError:
    import sys
    sys.path.append("../pymyinstall/src")
    import pymyinstall

try:
    import pyquickhelper
except ImportError:
    import sys
    sys.path.append("../pyquickhelper/src")
    import pyquickhelper


if __name__ == "__main__":
    import sys
    sys.path.append("src")
    from pyquickhelper import fLOG
    fLOG(OutputPrint=True)

    from actuariat_python.automation.win_setup_helper import last_function
    from pymyinstall import win_python_setup
    from pymyinstall.packaged import ensae_fullset

    list_modules = ensae_fullset()

    win_python_setup(module_list=list_modules, verbose=True,
                     download_only=False,
                     no_setup=False,
                     last_function=last_function,
                     selection={"R", "VS"},
                     documentation=False,
                     fLOG=fLOG)
{'fraction_non_alphanumeric': 0.07992202729044834, 'fraction_numerical': 0.0, 'mean_word_length': 2.6400709219858154, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '611335', 'n_tokens_mistral': 610, 'n_tokens_neox': 576, 'n_words': 128}