1
set PythonPath=c:\python23
6
del /s /q %GnuePath%\bin
7
del /s /q %GnuePath%\etc
8
del /s /q %GnuePath%\share
10
xcopy %PythonPath%\lib\site-packages\gnue\*.py %GnuePath%\bin\gnue\ /Y /E
12
xcopy %PythonPath%\etc\sample.*.conf %GnuePath%\etc\ /Y
14
xcopy %PythonPath%\share\doc %GnuePath%\share\doc\ /Y /E
16
xcopy %PythonPath%\share\gnue %GnuePath%\share\gnue\ /Y /E
18
xcopy %PythonPath%\share\locale %GnuePath%\share\locale\ /Y /E
20
for %%x in (%GnuePath%\etc\sample.*.conf) do python %PythonPath%\tools\scripts\lfcr.py %%x
22
copy %GnuePath%\etc\sample.gnue.conf %GnuePath%\etc\gnue.conf
23
copy %GnuePath%\etc\sample.connections.conf %GnuePath%\etc\connections.conf
24
copy %GnuePath%\etc\sample.report-filters.conf %GnuePath%\etc\report-filters.conf
26
copy %PythonPath%\scripts\gnue-setupdb.bat %GnuePath%\bin\gnue-setupdb.bat
30
python setup.py py2exe -c %1
32
xcopy dist %GnuePath%\bin\ /Y