]> git.sesse.net Git - vlc/blob - bindings/python-ctypes/setup.py
phonon: Add support to detect the pulsesupport.h header from kdesupport phonon package
[vlc] / bindings / python-ctypes / setup.py
1 from distutils.core import setup
2 import sys
3 import os
4 import generate
5
6 vlc_include_path = os.path.join("..","..","include","vlc")
7 if not os.path.exists(vlc_include_path):
8     raise Exception("This script should be run from a VLC tree.")
9
10 files = [ os.path.join(vlc_include_path, filename)
11           for filename in os.listdir(vlc_include_path) ]
12
13 generate.process('vlc.py', files)
14
15 setup(name='python-vlc',
16       version = '1.1.0',
17       author='Olivier Aubert',
18       author_email='olivier.aubert@liris.cnrs.fr',
19       url='http://wiki.videolan.org/PythonBinding',
20       py_modules=['vlc'],
21       keywords = [ 'vlc', 'video' ],
22       license = "GPL",
23       description = "VLC bindings for python.",
24       long_description = """VLC bindings for python.
25
26 This module provides ctypes-based bindings for the native libvlc API
27 (see http://wiki.videolan.org/ExternalAPI) and the MediaControl API
28 (see http://wiki.videolan.org/PythonBinding) of the VLC video player.
29
30 It is automatically generated from the include files.
31 """
32       )