]> git.sesse.net Git - vlc/blob - python/setup.py
* at last the python module works again !
[vlc] / python / setup.py
1 from distutils.core import setup, Extension
2
3 FFMPEG_DIR = '/home/cyril/ffmpeg'
4
5 vlc = Extension('vlc',
6                 sources = ['vlcmodule.c'],
7                 libraries = ['vlc', 'rt', 'dl' , 'pthread', 'ffmpeg', 'm',
8                              'memcpymmx','stream_out_transcode',
9                              'i420_rgb_mmx','i420_yuy2_mmx','i420_ymga_mmx',
10                              'i422_yuy2_mmx','memcpymmxext','memcpy3dn',
11                              'encoder_ffmpeg','avcodec'],
12                 library_dirs = [ '../lib',
13                                 '../modules/stream_out', '../modules/encoder/ffmpeg',
14                                 '../modules/misc/memcpy','../modules/video_chroma',
15                                 '../modules/codec/ffmpeg', FFMPEG_DIR + '/libavcodec'])
16
17
18 setup (name = 'PackageName',
19        version = '1.0',
20        description = 'This is a demo package',
21        ext_modules = [vlc])
22