6
« on: May 24, 2009, 03:13:26 pm »
Arg - so close! I added SFML_DYNAMIC to setup.py and now it looks like it builds fine. I install it after that, but then I get this error:
>>> import PySFML
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "PySFML\__init__.py", line 1, in <module>
import sf
ImportError: DLL load failed: The specified module could not be found.
I get exactly the same error when I use remi's already compiled distribution.
Here's the log from building it
C:\Documents and Settings\Owner\Desktop\SFML-1.4\python>python26 setup.py build
running build
running build_py
running build_ext
building 'PySFML.sf' extension
creating build\temp.win32-2.6
creating build\temp.win32-2.6\Release
creating build\temp.win32-2.6\Release\src
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Clock.cpp /Fobuild\temp.win32-
2.6\Release\src/Clock.obj
Clock.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Color.cpp /Fobuild\temp.win32-
2.6\Release\src/Color.obj
Color.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Drawable.cpp /Fobuild\temp.win
32-2.6\Release\src/Drawable.obj
Drawable.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
src/Drawable.cpp(73) : warning C4244: 'argument' : conversion from 'double' to 'float', possible los
s of data
src/Drawable.cpp(79) : warning C4244: 'argument' : conversion from 'double' to 'float', possible los
s of data
src/Drawable.cpp(94) : warning C4244: 'argument' : conversion from 'double' to 'float', possible los
s of data
src/Drawable.cpp(100) : warning C4244: 'argument' : conversion from 'double' to 'float', possible lo
ss of data
src/Drawable.cpp(107) : warning C4244: 'argument' : conversion from 'double' to 'float', possible lo
ss of data
src/Drawable.cpp(183) : warning C4244: 'argument' : conversion from 'double' to 'float', possible lo
ss of data
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Event.cpp /Fobuild\temp.win32-
2.6\Release\src/Event.obj
Event.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Image.cpp /Fobuild\temp.win32-
2.6\Release\src/Image.obj
Image.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Input.cpp /Fobuild\temp.win32-
2.6\Release\src/Input.obj
Input.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Key.cpp /Fobuild\temp.win32-2.
6\Release\src/Key.obj
Key.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/main.cpp /Fobuild\temp.win32-2
.6\Release\src/main.obj
main.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Music.cpp /Fobuild\temp.win32-
2.6\Release\src/Music.obj
Music.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/PostFX.cpp /Fobuild\temp.win32
-2.6\Release\src/PostFX.obj
PostFX.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Rect.cpp /Fobuild\temp.win32-2
.6\Release\src/Rect.obj
Rect.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/RenderWindow.cpp /Fobuild\temp
.win32-2.6\Release\src/RenderWindow.obj
RenderWindow.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Sleep.cpp /Fobuild\temp.win32-
2.6\Release\src/Sleep.obj
Sleep.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
src/Sleep.cpp(30) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss o
f data
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Sprite.cpp /Fobuild\temp.win32
-2.6\Release\src/Sprite.obj
Sprite.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/String.cpp /Fobuild\temp.win32
-2.6\Release\src/String.obj
String.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
src/String.cpp(132) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss
of data
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/VideoMode.cpp /Fobuild\temp.wi
n32-2.6\Release\src/VideoMode.obj
VideoMode.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/View.cpp /Fobuild\temp.win32-2
.6\Release\src/View.obj
View.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
src/View.cpp(130) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss o
f data
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Window.cpp /Fobuild\temp.win32
-2.6\Release\src/Window.obj
Window.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
src/Window.cpp(327) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss
of data
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Joy.cpp /Fobuild\temp.win32-2.
6\Release\src/Joy.obj
Joy.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Mouse.cpp /Fobuild\temp.win32-
2.6\Release\src/Mouse.obj
Mouse.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/WindowStyle.cpp /Fobuild\temp.
win32-2.6\Release\src/WindowStyle.obj
WindowStyle.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Blend.cpp /Fobuild\temp.win32-
2.6\Release\src/Blend.obj
Blend.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Sound.cpp /Fobuild\temp.win32-
2.6\Release\src/Sound.obj
Sound.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
src/Sound.cpp(85) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss o
f data
src/Sound.cpp(92) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss o
f data
src/Sound.cpp(99) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss o
f data
src/Sound.cpp(106) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss
of data
src/Sound.cpp(207) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss
of data
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/SoundBuffer.cpp /Fobuild\temp.
win32-2.6\Release\src/SoundBuffer.obj
SoundBuffer.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Listener.cpp /Fobuild\temp.win
32-2.6\Release\src/Listener.obj
Listener.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
src/Listener.cpp(64) : warning C4244: 'argument' : conversion from 'double' to 'float', possible los
s of data
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/SoundRecorder.cpp /Fobuild\tem
p.win32-2.6\Release\src/SoundRecorder.obj
SoundRecorder.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/SoundBufferRecorder.cpp /Fobui
ld\temp.win32-2.6\Release\src/SoundBufferRecorder.obj
SoundBufferRecorder.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/SoundStream.cpp /Fobuild\temp.
win32-2.6\Release\src/SoundStream.obj
SoundStream.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
src/SoundStream.cpp(127) : warning C4244: 'argument' : conversion from 'double' to 'float', possible
loss of data
src/SoundStream.cpp(134) : warning C4244: 'argument' : conversion from 'double' to 'float', possible
loss of data
src/SoundStream.cpp(141) : warning C4244: 'argument' : conversion from 'double' to 'float', possible
loss of data
src/SoundStream.cpp(148) : warning C4244: 'argument' : conversion from 'double' to 'float', possible
loss of data
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Font.cpp /Fobuild\temp.win32-2
.6\Release\src/Font.obj
Font.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Glyph.cpp /Fobuild\temp.win32-
2.6\Release\src/Glyph.obj
Glyph.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/Shape.cpp /Fobuild\temp.win32-
2.6\Release\src/Shape.obj
Shape.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
src/Shape.cpp(103) : warning C4244: 'argument' : conversion from 'double' to 'float', possible loss
of data
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DSF
ML_DYNAMIC -I../include -IC:\Python26\include -IC:\Python26\PC /Tpsrc/WindowSettings.cpp /Fobuild\te
mp.win32-2.6\Release\src/WindowSettings.obj
WindowSettings.cpp
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\xlocale(342) : warning C4530: C++ exception
handler used, but unwind semantics are not enabled. Specify /EHsc
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:.
./lib/vc2008 /LIBPATH:C:\Python26\libs /LIBPATH:C:\Python26\PCbuild sfml-graphics.lib sfml-window.li
b sfml-audio.lib sfml-system.lib /EXPORT:initsf build\temp.win32-2.6\Release\src/Clock.obj build\tem
p.win32-2.6\Release\src/Color.obj build\temp.win32-2.6\Release\src/Drawable.obj build\temp.win32-2.6
\Release\src/Event.obj build\temp.win32-2.6\Release\src/Image.obj build\temp.win32-2.6\Release\src/I
nput.obj build\temp.win32-2.6\Release\src/Key.obj build\temp.win32-2.6\Release\src/main.obj build\te
mp.win32-2.6\Release\src/Music.obj build\temp.win32-2.6\Release\src/PostFX.obj build\temp.win32-2.6\
Release\src/Rect.obj build\temp.win32-2.6\Release\src/RenderWindow.obj build\temp.win32-2.6\Release\
src/Sleep.obj build\temp.win32-2.6\Release\src/Sprite.obj build\temp.win32-2.6\Release\src/String.ob
j build\temp.win32-2.6\Release\src/VideoMode.obj build\temp.win32-2.6\Release\src/View.obj build\tem
p.win32-2.6\Release\src/Window.obj build\temp.win32-2.6\Release\src/Joy.obj build\temp.win32-2.6\Rel
ease\src/Mouse.obj build\temp.win32-2.6\Release\src/WindowStyle.obj build\temp.win32-2.6\Release\src
/Blend.obj build\temp.win32-2.6\Release\src/Sound.obj build\temp.win32-2.6\Release\src/SoundBuffer.o
bj build\temp.win32-2.6\Release\src/Listener.obj build\temp.win32-2.6\Release\src/SoundRecorder.obj
build\temp.win32-2.6\Release\src/SoundBufferRecorder.obj build\temp.win32-2.6\Release\src/SoundStrea
m.obj build\temp.win32-2.6\Release\src/Font.obj build\temp.win32-2.6\Release\src/Glyph.obj build\tem
p.win32-2.6\Release\src/Shape.obj build\temp.win32-2.6\Release\src/WindowSettings.obj /OUT:build\lib
.win32-2.6\PySFML\sf.pyd /IMPLIB:build\temp.win32-2.6\Release\src\sf.lib /MANIFESTFILE:build\temp.wi
n32-2.6\Release\src\sf.pyd.manifest
Creating library build\temp.win32-2.6\Release\src\sf.lib and object build\temp.win32-2.6\Release\
src\sf.exp
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe -nologo -manifest build\temp.win32-2.6\Rele
ase\src\sf.pyd.manifest -outputresource:build\lib.win32-2.6\PySFML\sf.pyd;2
C:\Documents and Settings\Owner\Desktop\SFML-1.4\python>
Here's the log from installing it:
C:\Documents and Settings\Owner\Desktop\SFML-1.4\python>python26 setup.py install
running install
running build
running build_py
running build_ext
running install_lib
creating C:\Python26\Lib\site-packages\PySFML
copying build\lib.win32-2.6\PySFML\sf.pyd -> C:\Python26\Lib\site-packages\PySFML
copying build\lib.win32-2.6\PySFML\__init__.py -> C:\Python26\Lib\site-packages\PySFML
copying build\lib.win32-2.6\PySFML\__init__.pyc -> C:\Python26\Lib\site-packages\PySFML
running install_egg_info
Writing C:\Python26\Lib\site-packages\PySFML-1.4-py2.6.egg-info
And here's setup.py:
#!/usr/bin/env python
# coding=UTF-8
from distutils.core import setup, Extension
setup(name='PySFML',
version='1.4',
description='Python binding for SFML (Simple and Fast Multimedia Library)',
author='Rémi Koenig',
author_email='remi.k2620@gmail.com',
url='http://www.sfml-dev.org/',
license='zlib/png',
ext_modules=[ Extension('PySFML.sf', \
['src/Clock.cpp', 'src/Color.cpp', 'src/Drawable.cpp', \
'src/Event.cpp', 'src/Image.cpp', 'src/Input.cpp', 'src/Key.cpp', 'src/main.cpp', \
'src/Music.cpp', 'src/PostFX.cpp', 'src/Rect.cpp', 'src/RenderWindow.cpp', 'src/Sleep.cpp', \
'src/Sprite.cpp', 'src/String.cpp', 'src/VideoMode.cpp', 'src/View.cpp', 'src/Window.cpp', \
'src/Joy.cpp', 'src/Mouse.cpp', 'src/WindowStyle.cpp', 'src/Blend.cpp', 'src/Sound.cpp', \
'src/SoundBuffer.cpp', 'src/Listener.cpp', 'src/SoundRecorder.cpp', 'src/SoundBufferRecorder.cpp', \
'src/SoundStream.cpp', 'src/Font.cpp', 'src/Glyph.cpp', 'src/Shape.cpp', 'src/WindowSettings.cpp' ], \
libraries=['sfml-graphics', 'sfml-window', 'sfml-audio', 'sfml-system'], \
library_dirs=['../lib/vc2008'], \
include_dirs=['../include'],
define_macros=[('SFML_DYNAMIC',None)]
)],
package_dir = {'PySFML':'PySFML'},
packages=['PySFML'],
)