<commit_before>@echo off
REM assumes we're going to c:\Python24

set startdir=%CD%

..\util\gunzip -c ..\..\external\Pmw.tgz > ..\..\external\Pmw.tar
..\util\tar xvf ..\..\external\Pmw.tar
copy ..\..\external\Pmw .

cd ..
xcopy /E /I create_python_topo c:\create_python_topo
REM CEBHACKALERT: because the msi won't run from this directory, at least
REM on my PC! Why? Is it a path problem?
c:
cd create_python_topo


start /w msiexec /i python-2.4.2.msi ALLUSERS=0 TARGETDIR=c:\python24 ADDLOCAL=DefaultFeature,TclTk
start /w Numeric-24.2.win32-py2.4.exe
start /w matplotlib-0.81.win32-py2.4.exe
start /w PIL-1.1.5.win32-py2.4.exe

move Pmw c:\python24\Lib\site-packages

REM ** For fixedpoint, the patched version from unix is used.
move fixedpoint-0.1.2_patched.py c:\python24\Lib\site-packages\fixedpoint.py

cd ..
rmdir /Q /S create_python_topo

echo.
echo.
echo Now test this has worked by renaming c:\Python24 to c:\python_topo 
echo and replacing your copy of Topographica's python_topo with this new one.
echo.
echo If successful, tar.gz this python_topo and add it to cvs at
echo topographica-win\common\python_topo.tar.gz.
echo.
echo.
pause<commit_msg>Added HACKALERT.<commit_after>@echo off
REM assumes we're going to c:\Python24

set startdir=%CD%

..\util\gunzip -c ..\..\external\Pmw.tgz > ..\..\external\Pmw.tar
..\util\tar xvf ..\..\external\Pmw.tar
copy ..\..\external\Pmw .

cd ..
xcopy /E /I create_python_topo c:\create_python_topo
REM CEBHACKALERT: because the msi won't run from this directory, at least
REM on my PC! Why? Is it a path problem?
c:
cd create_python_topo


start /w msiexec /i python-2.4.2.msi ALLUSERS=0 TARGETDIR=c:\python24 ADDLOCAL=DefaultFeature,TclTk
start /w Numeric-24.2.win32-py2.4.exe
start /w matplotlib-0.81.win32-py2.4.exe
start /w PIL-1.1.5.win32-py2.4.exe

move Pmw c:\python24\Lib\site-packages

REM ** For fixedpoint, the patched version from unix is used.
REM ** CEBHACKALERT: use the patch executable in utils to create the
REM patch from the diff and fixedpoint.tgz file in external\
move fixedpoint-0.1.2_patched.py c:\python24\Lib\site-packages\fixedpoint.py

cd ..
rmdir /Q /S create_python_topo

echo.
echo.
echo Now test this has worked by renaming c:\Python24 to c:\python_topo 
echo and replacing your copy of Topographica's python_topo with this new one.
echo.
echo If successful, tar.gz this python_topo and add it to cvs at
echo topographica-win\common\python_topo.tar.gz.
echo.
echo.
pause
{'fraction_non_alphanumeric': 0.11803011803011804, 'fraction_numerical': 0.03093203093203093, 'mean_word_length': 3.5772811918063314, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '361874', 'n_tokens_mistral': 995, 'n_tokens_neox': 924, 'n_words': 283}