<commit_before>#
# Appveyor CI configuration.
#

environment:
    matrix:
        - PYTHON: "C:/Python27"

install:
    # Download Python package manager (`pip`):
    - ps: (new-object net.webclient).DownloadFile("http://raw.github.com/pypa/pip/master/contrib/get-pip.py", "C:/get-pip.py")
    - "%PYTHON%/python.exe C:/get-pip.py"

    # Install cxfreeze utility via pip:
    - "%PYTHON%/Scripts/pip.exe -q install cx_Freeze"

    # Download txtrevise utility, a depedency of packager:
    - ps: (new-object net.webclient).DownloadFile("https://raw.githubusercontent.com/stpettersens/txtrevise/master/python/txtrevise.py", "C:/txtrevise.py")

build_script:
    - "%PYTHON%/python.exe %PYTHON%/Scripts/cxfreeze C:/txtrevise.py --target-dir ."
    - ps: "mv txtrevise.exe C:/"
    - ps: "rm bz2.pyd"
    - ps: "rm unicodedata.pyd"
    - ps: "rm python27.dll"
    - "%PYTHON%/python.exe %PYTHON%/Scripts/cxfreeze packager.py --target-dir ."

test_script:
    - "packager.exe -p io.stpettersen.example.helloworld -m HelloWorld -cp . -r examples -v"
    - ps: "ls ."
    - "java.exe -jar HelloWorld.jar"

on_success:
    - ps: "rm C:/txtrevise.exe"
    - ps: "rm packager.exe"<commit_msg>ECHO %PATH%<commit_after>#
# Appveyor CI configuration.
#

environment:
    matrix:
        - PYTHON: "C:/Python27"

install:
    - "ECHO %PATH%"
    # Download Python package manager (`pip`):
    - ps: (new-object net.webclient).DownloadFile("http://raw.github.com/pypa/pip/master/contrib/get-pip.py", "C:/get-pip.py")
    - "%PYTHON%/python.exe C:/get-pip.py"

    # Install cxfreeze utility via pip:
    - "%PYTHON%/Scripts/pip.exe -q install cx_Freeze"

    # Download txtrevise utility, a depedency of packager:
    - ps: (new-object net.webclient).DownloadFile("https://raw.githubusercontent.com/stpettersens/txtrevise/master/python/txtrevise.py", "C:/txtrevise.py")

build_script:
    - "%PYTHON%/python.exe %PYTHON%/Scripts/cxfreeze C:/txtrevise.py --target-dir ."
    - ps: "mv txtrevise.exe C:/"
    - ps: "rm bz2.pyd"
    - ps: "rm unicodedata.pyd"
    - ps: "rm python27.dll"
    - "%PYTHON%/python.exe %PYTHON%/Scripts/cxfreeze packager.py --target-dir ."

test_script:
    - "packager.exe -p io.stpettersen.example.helloworld -m HelloWorld -cp . -r examples -v"
    - "java.exe -jar HelloWorld.jar"

on_success:
    - ps: "rm C:/txtrevise.exe"
    - ps: "rm packager.exe"
{'fraction_non_alphanumeric': 0.16969185310257492, 'fraction_numerical': 0.004221190375685944, 'mean_word_length': 2.963210702341137, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '705284', 'n_tokens_mistral': 985, 'n_tokens_neox': 923, 'n_words': 168}