2009-01-29 00:18:34 +08:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# coding=UTF-8
|
|
|
|
|
|
|
|
from distutils.core import setup, Extension
|
|
|
|
|
|
|
|
setup(name='PySFML',
|
2009-06-07 20:21:02 +08:00
|
|
|
version='1.6',
|
2009-01-29 00:18:34 +08:00
|
|
|
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',
|
2010-01-27 02:09:03 +08:00
|
|
|
ext_modules=[ Extension('PySFML.sf',
|
|
|
|
['src/Clock.cpp', 'src/Color.cpp', 'src/Drawable.cpp',
|
2010-02-10 22:42:53 +08:00
|
|
|
'src/Event.cpp', 'src/Image.cpp', 'src/Input.cpp', 'src/Key.cpp', 'src/main.cpp', 'src/Music.cpp',
|
|
|
|
'src/Shader.cpp', 'src/Rect.cpp', 'src/RenderWindow.cpp', 'src/Sleep.cpp',
|
|
|
|
'src/Sprite.cpp', 'src/Text.cpp', 'src/VideoMode.cpp', 'src/View.cpp', 'src/Window.cpp',
|
2010-01-27 02:09:03 +08:00
|
|
|
'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',
|
2010-02-10 22:42:53 +08:00
|
|
|
'src/SoundStream.cpp', 'src/Font.cpp', 'src/Glyph.cpp', 'src/Shape.cpp', 'src/ContextSettings.cpp'],
|
2010-01-27 02:09:03 +08:00
|
|
|
libraries=['sfml-graphics', 'sfml-window', 'sfml-audio', 'sfml-system'],
|
|
|
|
library_dirs=['../lib/mingw'],
|
2009-01-29 00:18:34 +08:00
|
|
|
include_dirs=['../include']
|
|
|
|
)],
|
|
|
|
package_dir = {'PySFML':'PySFML'},
|
|
|
|
packages=['PySFML'],
|
|
|
|
)
|