]> git.saurik.com Git - wxWidgets.git/blob - wxPython/b.bat
fix for better European date format parsing
[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 "h" --> HYBRID
44 elseiff "%1" == "h" then
45 shift
46 set CMD=%SETUP% %FLAGS% HYBRID=1 build_ext --inplace %1 %2 %3 %4 %5 %6 %7 %8 %9
47
48 rem (no command arg) --> normal build for development
49 else
50 set CMD=%SETUP% %FLAGS% HYBRID=0 build_ext --inplace --debug %1 %2 %3 %4 %5 %6 %7 %8 %9
51 endiff
52
53
54
55 echo %CMD%
56 %CMD%
57
58 iff "%OTHERCMD%" != "" then
59 echo %OTHERCMD%
60 %OTHERCMD%
61 endiff
62