Mercurial > pygame
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 |
| rev | line source |
|---|---|
| 1019 | 1 #This Setup file is used by the setup.py script to configure the |
| 2 #python extensions. You will likely use the "config.py" which will | |
| 3 #build a correct Setup file for you based on your system settings. | |
| 4 #If not, the format is simple enough to edit by hand. First change | |
| 5 #the needed commandline flags for each dependency, then comment out | |
| 6 #any unavailable optional modules in the first optional section. | |
| 7 | |
| 8 | |
| 9 #--StartConfig | |
| 10 SDL = -I/usr/include/SDL -D_REENTRANT -lSDL | |
| 11 FONT = -lSDL_ttf | |
| 12 IMAGE = -lSDL_image | |
| 13 MIXER = -lSDL_mixer | |
| 14 SMPEG = -lsmpeg | |
| 15 PNG = -lpng | |
| 16 JPEG = -ljpeg | |
| 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 | 23 #--EndConfig |
| 24 | |
| 25 DEBUG = | |
| 26 | |
| 27 #the following modules are optional. you will want to compile | |
| 28 #everything you can, but you can ignore ones you don't have | |
| 29 #dependencies for, just comment them out | |
| 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 | 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 | 50 #these modules are required for pygame to run. they only require |
| 51 #SDL as a dependency. these should not be altered | |
| 52 | |
| 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 | 55 color src/color.c $(SDL) $(DEBUG) |
| 1019 | 56 constants src/constants.c $(SDL) $(DEBUG) |
| 57 display src/display.c $(SDL) $(DEBUG) | |
| 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 | 60 key src/key.c $(SDL) $(DEBUG) |
| 61 mouse src/mouse.c $(SDL) $(DEBUG) | |
| 62 rect src/rect.c $(SDL) $(DEBUG) | |
| 63 rwobject src/rwobject.c $(SDL) $(DEBUG) | |
| 64 surface src/surface.c src/alphablit.c src/surface_fill.c $(SDL) $(DEBUG) | |
| 65 surflock src/surflock.c $(SDL) $(DEBUG) | |
| 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 | 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 | 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 |
