cd .

RD /S /Q c:\temp\build\GalaxyReportViewer_win
RD /S /Q build\exe.win32-2.7

python setup.py build

xcopy build\exe.win32-2.7 c:\temp\build\GalaxyReportViewer_win /e /i /y


xcopy Fonts c:\temp\build\GalaxyReportViewer_win\Fonts /e /i /y
xcopy Data c:\temp\build\GalaxyReportViewer_win\Data /e /i /y

copy ..\..\Release\GalaxyAPI.dll c:\temp\build\GalaxyReportViewer_win\
copy msvcp90.dll c:\temp\build\GalaxyReportViewer_win\

copy c:\Utils\WinRar\rar.exe c:\temp\build\GalaxyReportViewer_win\

xcopy c:\temp\build\GalaxyReportViewer_win c:\temp\build\test /e /i /y

RD /S /Q build

cd c:\temp\build
del GalaxyReportViewer_win.rar
c:\Utils\WinRar\rar a -r GalaxyReportViewer_win GalaxyReportViewer_win
