<commit_before>rem Build Arelle GUI using cx_Freeze
rem both win 32 (x86) and win 64 (x64)

@set PYTHON32DIR=c:\python32x86
@set PYTHON64DIR=c:\python32
@set NSISDIR=C:\Program Files (x86)\NSIS
@set BUILT32DIR=build\exe.win32-3.2
@set BUILT64DIR=build\exe.win-amd64-3.2

"%PYTHON64DIR%\python" buildVersion.py

rmdir build /s/q
rmdir dist /s/q
mkdir build
mkdir dist

rem win 32 (x86) build
"%PYTHON32DIR%\python" setup.py build_exe
"%NSISDIR%\makensis" installWin86.nsi
rem rename for build date
call buildRenameX86.bat

rem win 64 build
"%PYTHON64DIR%\python" setup.py build_exe
"%NSISDIR%\makensis" installWin64.nsi
rem rename for build date
call buildRenameX64.bat

rem compact /c /f dist\exe.win32-3.2.exe

rmdir build /s/q
<commit_msg>update to build with lxml module<commit_after>rem Build Arelle GUI using cx_Freeze
rem both win 32 (x86) and win 64 (x64)

@set PYTHON32DIR=c:\python32x86
@set PYTHON64DIR=c:\python32
@set NSISDIR=C:\Program Files (x86)\NSIS
@set CMDLINEZIP=C:\Program Files (x86)\7z\7za.exe
@set BUILT32DIR=build\exe.win32-3.2
@set BUILT64DIR=build\exe.win-amd64-3.2

"%PYTHON64DIR%\python" buildVersion.py

rmdir build /s/q
rmdir dist /s/q
mkdir build
mkdir dist

rem win 32 (x86) build
"%PYTHON32DIR%\python" setup.py build_exe
rem fix up lxml missing modules in cx_freeze build
mkdir lxml
copy "%PYTHON32DIR%\Lib\site-packages\lxml\__pycache__\_elementpath.cpython-32.pyc" lxml\_elementpath.pyc
"%CMDLINEZIP%" a "%BUILT32DIR%\library.zip" lxml\_elementpath.pyc
rmdir lxml/s/q
"%NSISDIR%\makensis" installWin86.nsi
rem rename for build date
call buildRenameX86.bat

rem win 64 build
"%PYTHON64DIR%\python" setup.py build_exe
rem fix up lxml missing modules in cx_freeze build
mkdir lxml
copy "%PYTHON64DIR%\Lib\site-packages\lxml\__pycache__\_elementpath.cpython-32.pyc" lxml\_elementpath.pyc
"%CMDLINEZIP%" a "%BUILT64DIR%\library.zip" lxml\_elementpath.pyc
rmdir lxml/s/q
"%NSISDIR%\makensis" installWin64.nsi
rem rename for build date
call buildRenameX64.bat

rem compact /c /f dist\exe.win32-3.2.exe

rem rmdir build /s/q

{'fraction_non_alphanumeric': 0.11251826595226498, 'fraction_numerical': 0.062347783731125185, 'mean_word_length': 5.058997050147493, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 13}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1307522', 'n_tokens_mistral': 933, 'n_tokens_neox': 836, 'n_words': 210}