source: trunk/brainstorms/scripts/build-win32.bat @ 267

Last change on this file since 267 was 251, checked in by sc, 12 years ago

build-win32.bat:

  • minor comment and directory cleanup tweaks

PuzzleboxBrainstorms?-install.nsi:

  • Preparation for 0.4.0 release
File size: 1.0 KB
Line 
1@ECHO OFF
2
3rem # Requirements:
4rem #  - must add C:\Windows;C;\Windows\system to system PATH
5rem #  - PyInstaller 1.4+ (http://www.pyinstaller.org)
6rem #  - pywin32 (http://sourceforge.net/projects/pywin32)
7
8
9rem # Set PyInstaller path
10SET PYINSTALLER_PATH=C:\Development\pyinstaller-1.4
11rem SET PYINSTALLER_PATH=C:\Development\pyinstaller-1.5-rc1
12
13rem # Compile brainstorms-local
14python %PYINSTALLER_PATH%\Makespec.py --onefile --noconsole --icon=images\puzzlebox.ico brainstorms-local.py
15python %PYINSTALLER_PATH%\Build.py brainstorms-local.spec
16
17rem # Compile brainstorms-network
18python %PYINSTALLER_PATH%\Makespec.py --onefile --noconsole --icon=images\puzzlebox.ico brainstorms-network.py
19python %PYINSTALLER_PATH%\Build.py brainstorms-network.spec
20
21rem # Copy image directory
22rem mkdir dist\images
23rem xcopy images dist\images
24
25rem # Perform cleanup
26rd /q/s build
27del brainstorms-local.spec
28del brainstorms-network.spec
29del logdict2.5.4.final.0-1.log
30del warnbrainstorms-local.txt
31del warnbrainstorms-network.txt
Note: See TracBrowser for help on using the repository browser.