File: do_win32_setup.cmd

package info (click to toggle)
python-box2d 2.0.2%2Bsvn20100109.244-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 2,864 kB
  • ctags: 3,280
  • sloc: cpp: 11,679; python: 10,103; xml: 477; makefile: 85; sh: 8
file content (45 lines) | stat: -rw-r--r-- 1,492 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

@echo This script creates release installers for the supported versions of Python
@echo in Windows. Though it's a windows command script, it does uses some stuff
@echo from MSYS (cat/mv/rm/etc)

@pause

cd ..

@echo Clean all first...
c:\python24\python.exe setup.py clean -a
c:\python25\python.exe setup.py clean -a
c:\python26\python.exe setup.py clean -a
rm -rf build

@echo ---------------------------------------------------------------------------
@echo Python 2.4 - MinGW
c:\python24\python.exe setup.py build --force
cat Box2D/pybox2d_license_header.txt > Box2D_.py
cat Box2D.py >> Box2D_.py
mv Box2D_.py Box2D.py
c:\python24\python.exe setup.py bdist_wininst -t"pyBox2D Installer" -dinstaller

@echo ---------------------------------------------------------------------------
@echo Python 2.5 - MinGW
c:\python25\python.exe setup.py build --force
cat Box2D/pybox2d_license_header.txt > Box2D_.py
cat Box2D.py >> Box2D_.py
mv Box2D_.py Box2D.py
c:\python25\python.exe setup.py bdist_wininst -t"pyBox2D Installer" -dinstaller

@echo ---------------------------------------------------------------------------
@echo Python 2.6 - Compiles with VC9
c:\python26\python.exe setup.py build --force
cat Box2D/pybox2d_license_header.txt > Box2D_.py
cat Box2D.py >> Box2D_.py
mv Box2D_.py Box2D.py
c:\python26\python.exe setup.py bdist_wininst -t"pyBox2D Installer" -dinstaller
rm -rf build temp Box2D_wrap* Box2D*.py _Box2D.pyd

cd misc

@pause