annotate Setup.in @ 3172:d1b367fc08bc tests-returncode

Use a return code of 1 when the tests fail.
author Thomas Kluyver <takowl@gmail.com>
date Wed, 09 Jan 2013 10:13:57 +0000
parents ca7f934ebc3f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1019
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
1 #This Setup file is used by the setup.py script to configure the
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
2 #python extensions. You will likely use the "config.py" which will
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
3 #build a correct Setup file for you based on your system settings.
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
4 #If not, the format is simple enough to edit by hand. First change
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
5 #the needed commandline flags for each dependency, then comment out
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
6 #any unavailable optional modules in the first optional section.
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
7
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
8
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
9 #--StartConfig
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
10 SDL = -I/usr/include/SDL -D_REENTRANT -lSDL
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
11 FONT = -lSDL_ttf
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
12 IMAGE = -lSDL_image
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
13 MIXER = -lSDL_mixer
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
14 SMPEG = -lsmpeg
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
15 PNG = -lpng
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
16 JPEG = -ljpeg
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
17 SCRAP = -lX11
1433
7573f7cd2159 updated portmidi config for unix and darwin. tested on ubuntu, not osx.
Rene Dudfield <renesd@gmail.com>
parents: 1398
diff changeset
18 PORTMIDI = -lportmidi
1434
34ad777d3068 Added libporttime dependency, as required by ubuntu.
Rene Dudfield <renesd@gmail.com>
parents: 1433
diff changeset
19 PORTTIME = -lporttime
1949
9e5e5a71f222 Added exception throwing if the linked surface is not the right aspect ratio,
zeroth
parents: 1944
diff changeset
20 FREETYPE = -lfreetype
1952
23d0c6cb0a57 Comenting out _movie for now, as it is breaking setup.py
Rene Dudfield <renesd@gmail.com>
parents: 1949
diff changeset
21 AVFORMAT = -lavformat
23d0c6cb0a57 Comenting out _movie for now, as it is breaking setup.py
Rene Dudfield <renesd@gmail.com>
parents: 1949
diff changeset
22 SWSCALE = -lswscale
1019
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
23 #--EndConfig
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
24
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
25 DEBUG =
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
26
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
27 #the following modules are optional. you will want to compile
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
28 #everything you can, but you can ignore ones you don't have
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
29 #dependencies for, just comment them out
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
30
2116
04bace00377c remove Mac error debugging
Lenard Lindstrom <len-l@telus.net>
parents: 2113
diff changeset
31 imageext src/imageext.c $(SDL) $(IMAGE) $(PNG) $(JPEG) $(DEBUG)
04bace00377c remove Mac error debugging
Lenard Lindstrom <len-l@telus.net>
parents: 2113
diff changeset
32 font src/font.c $(SDL) $(FONT) $(DEBUG)
04bace00377c remove Mac error debugging
Lenard Lindstrom <len-l@telus.net>
parents: 2113
diff changeset
33 mixer src/mixer.c $(SDL) $(MIXER) $(DEBUG)
04bace00377c remove Mac error debugging
Lenard Lindstrom <len-l@telus.net>
parents: 2113
diff changeset
34 mixer_music src/music.c $(SDL) $(MIXER) $(DEBUG)
1564
adf93b55dcd6 undo accidental changes to Setup.in and __init__.py
Lenard Lindstrom <len-l@telus.net>
parents: 1563
diff changeset
35 _numericsurfarray src/_numericsurfarray.c $(SDL) $(DEBUG)
adf93b55dcd6 undo accidental changes to Setup.in and __init__.py
Lenard Lindstrom <len-l@telus.net>
parents: 1563
diff changeset
36 _numericsndarray src/_numericsndarray.c $(SDL) $(MIXER) $(DEBUG)
3078
ca7f934ebc3f commented out the movie module, since smpeg is a dead dependency.
Rene Dudfield <renesd@gmail.com>
parents: 3065
diff changeset
37 #movie src/movie.c $(SDL) $(SMPEG) $(DEBUG)
2045
5a9ef53b5074 Undo bug introduced into Setup.in for ffmpeg
Lenard Lindstrom <len-l@telus.net>
parents: 2043
diff changeset
38 #_movie src/_gsound.c src/_gmovie.c src/_gcommand.c src/gmovie.c $(SDL) $(AVFORMAT) $(SWSCALE) $(MIXER) $(DEBUG)
1564
adf93b55dcd6 undo accidental changes to Setup.in and __init__.py
Lenard Lindstrom <len-l@telus.net>
parents: 1563
diff changeset
39 scrap src/scrap.c $(SDL) $(SCRAP) $(DEBUG)
adf93b55dcd6 undo accidental changes to Setup.in and __init__.py
Lenard Lindstrom <len-l@telus.net>
parents: 1563
diff changeset
40 pypm src/pypm.c $(SDL) $(PORTMIDI) $(PORTTIME) $(DEBUG)
1019
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
41
1551
47281eecd133 let's enable gfxdraw by default
Lenard Lindstrom <len-l@telus.net>
parents: 1546
diff changeset
42 GFX = src/SDL_gfx/SDL_gfxPrimitives.c
1539
286423e172c0 Included a couple of files from SDL_gfx for the gfxdraw module.
Rene Dudfield <renesd@gmail.com>
parents: 1536
diff changeset
43 #GFX = src/SDL_gfx/SDL_gfxBlitFunc.c src/SDL_gfx/SDL_gfxPrimitives.c
1551
47281eecd133 let's enable gfxdraw by default
Lenard Lindstrom <len-l@telus.net>
parents: 1546
diff changeset
44 gfxdraw src/gfxdraw.c $(SDL) $(GFX) $(DEBUG)
1539
286423e172c0 Included a couple of files from SDL_gfx for the gfxdraw module.
Rene Dudfield <renesd@gmail.com>
parents: 1536
diff changeset
45
1944
c4f85b74d53f Fixed configuration script choking on the FreeType module.
tanoku
parents: 1938
diff changeset
46 #optional freetype module (do not break in multiple lines
c4f85b74d53f Fixed configuration script choking on the FreeType module.
tanoku
parents: 1938
diff changeset
47 #or the configuration script will choke!)
3065
0a3be7313aa4 Enable pygame._freetype extension module build by default
Lenard Lindstrom <len-l@telus.net>
parents: 3016
diff changeset
48 _freetype src/freetype/ft_cache.c src/freetype/ft_wrap.c src/freetype/ft_render.c src/freetype/ft_render_cb.c src/freetype/ft_layout.c src/freetype/ft_unicode.c src/_freetype.c $(SDL) $(FREETYPE) $(DEBUG)
1539
286423e172c0 Included a couple of files from SDL_gfx for the gfxdraw module.
Rene Dudfield <renesd@gmail.com>
parents: 1536
diff changeset
49
1019
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
50 #these modules are required for pygame to run. they only require
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
51 #SDL as a dependency. these should not be altered
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
52
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
53 base src/base.c $(SDL) $(DEBUG)
1564
adf93b55dcd6 undo accidental changes to Setup.in and __init__.py
Lenard Lindstrom <len-l@telus.net>
parents: 1563
diff changeset
54 cdrom src/cdrom.c $(SDL) $(DEBUG)
1037
c4c38b97db3b Added Color class.
marcus
parents: 1019
diff changeset
55 color src/color.c $(SDL) $(DEBUG)
1019
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
56 constants src/constants.c $(SDL) $(DEBUG)
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
57 display src/display.c $(SDL) $(DEBUG)
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
58 event src/event.c $(SDL) $(DEBUG)
1564
adf93b55dcd6 undo accidental changes to Setup.in and __init__.py
Lenard Lindstrom <len-l@telus.net>
parents: 1563
diff changeset
59 fastevent src/fastevent.c src/fastevents.c $(SDL) $(DEBUG)
1019
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
60 key src/key.c $(SDL) $(DEBUG)
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
61 mouse src/mouse.c $(SDL) $(DEBUG)
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
62 rect src/rect.c $(SDL) $(DEBUG)
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
63 rwobject src/rwobject.c $(SDL) $(DEBUG)
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
64 surface src/surface.c src/alphablit.c src/surface_fill.c $(SDL) $(DEBUG)
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
65 surflock src/surflock.c $(SDL) $(DEBUG)
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
66 time src/time.c $(SDL) $(DEBUG)
1564
adf93b55dcd6 undo accidental changes to Setup.in and __init__.py
Lenard Lindstrom <len-l@telus.net>
parents: 1563
diff changeset
67 joystick src/joystick.c $(SDL) $(DEBUG)
1019
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
68 draw src/draw.c $(SDL) $(DEBUG)
2116
04bace00377c remove Mac error debugging
Lenard Lindstrom <len-l@telus.net>
parents: 2113
diff changeset
69 image src/image.c $(SDL) $(DEBUG)
1564
adf93b55dcd6 undo accidental changes to Setup.in and __init__.py
Lenard Lindstrom <len-l@telus.net>
parents: 1563
diff changeset
70 overlay src/overlay.c $(SDL) $(DEBUG)
1889
41018ab995f6 Patch to work around cpu detection bugs in SDL 64bit from Lenard. Thanks to Lorenz for bug hunting.
Rene Dudfield <renesd@gmail.com>
parents: 1788
diff changeset
71 transform src/transform.c src/rotozoom.c src/scale2x.c src/scale_mmx.c $(SDL) $(DEBUG) -D_NO_MMX_FOR_X86_64
1019
5f6ec5f10acf Fixed svn diff problems with DOS files
marcus
parents: 911
diff changeset
72 mask src/mask.c src/bitmask.c $(SDL) $(DEBUG)
1564
adf93b55dcd6 undo accidental changes to Setup.in and __init__.py
Lenard Lindstrom <len-l@telus.net>
parents: 1563
diff changeset
73 bufferproxy src/bufferproxy.c $(SDL) $(DEBUG)
adf93b55dcd6 undo accidental changes to Setup.in and __init__.py
Lenard Lindstrom <len-l@telus.net>
parents: 1563
diff changeset
74 pixelarray src/pixelarray.c $(SDL) $(DEBUG)
1998
2f6c78e5d092 added back math module to compilation in Setup.in
Rene Dudfield <renesd@gmail.com>
parents: 1995
diff changeset
75 math src/math.c $(SDL) $(DEBUG)
2131
018779fb04f5 Merge the buffer branch back into trunk.
Lenard Lindstrom <len-l@telus.net>
parents: 2124
diff changeset
76 _view src/_view.c $(SDL) $(DEBUG)
2136
9de026eb9cab Merge the surface_buffer branch back into trunk.
Lenard Lindstrom <len-l@telus.net>
parents: 2131
diff changeset
77 pixelcopy src/pixelcopy.c $(SDL) $(DEBUG)
9de026eb9cab Merge the surface_buffer branch back into trunk.
Lenard Lindstrom <len-l@telus.net>
parents: 2131
diff changeset
78