mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
0e2297af28
Renamed the CSFML directory to c Renamed the DSFML directory to d --> bindings must now be updated to match the new organization! git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1630 4e206d99-4929-0410-ac5d-dfc041789085
28 lines
1.2 KiB
Python
28 lines
1.2 KiB
Python
#!/usr/bin/env python
|
|
# coding=UTF-8
|
|
|
|
from distutils.core import setup, Extension
|
|
|
|
setup(name='PySFML',
|
|
version='1.6',
|
|
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/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',
|
|
'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/ContextSettings.cpp'],
|
|
libraries=['sfml-graphics', 'sfml-window', 'sfml-audio', 'sfml-system'],
|
|
library_dirs=['../lib/mingw'],
|
|
include_dirs=['../include']
|
|
)],
|
|
package_dir = {'PySFML':'PySFML'},
|
|
packages=['PySFML'],
|
|
)
|