]> git.saurik.com Git - wxWidgets.git/blob - wxPython/b.bat
TreeCtrl updates
[wxWidgets.git] / wxPython / b.bat
1 @echo off
2 setlocal
3
4 set FLAGS=USE_SWIG=1 IN_CVS_TREE=1
5
6
7 rem Use non-default python?
8 iff "%1" == "15" .or. "%1" == "20" then
9 set SETUP=c:\tools\python%1%\python.exe -u setup.py
10 shift
11 else
12 set SETUP=python -u setup.py
13 endiff
14
15
16
17 rem "c" --> clean
18 iff "%1" == "c" then
19 shift
20 set CMD=%SETUP% %FLAGS% clean
21 set OTHERCMD=del wxPython\*.pyd
22
23 rem just remove the *.pyd's
24 elseiff "%1" == "d" then
25 shift
26 set CMD=del wxPython\*.pyd
27
28 rem "i" --> install
29 elseiff "%1" == "i" then
30 shift
31 set CMD=%SETUP% build install
32
33 rem "s" --> source dist
34 elseiff "%1" == "s" then
35 shift
36 set CMD=%SETUP sdist
37
38 rem "f" --> FINAL
39 elseiff "%1" == "f" then
40 shift
41 set CMD=%SETUP% %FLAGS% FINAL=1 build_ext --inplace %1 %2 %3 %4 %5 %6 %7 %8 %9
42
43 rem (no command arg) --> normal build for development
44 else
45 set CMD=%SETUP% %FLAGS% HYBRID=1 build_ext --inplace %1 %2 %3 %4 %5 %6 %7 %8 %9
46 endiff
47
48
49
50 echo %CMD%
51 %CMD%
52
53 iff "%OTHERCMD%" != "" then
54 %OTHERCMD%
55 endiff
56