setup.py 525 Bytes
Newer Older
Cyril Deguet's avatar
Cyril Deguet committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
from distutils.core import setup, Extension

FFMPEG_DIR = '/home/cyril/ffmpeg'

vlc = Extension('vlc',
                sources = ['vlcmodule.c'],
                libraries = ['vlc', 'rt', 'dl' , 'pthread', 'ffmpeg', 'm', 
                             'avcodec'],
                library_dirs = ['../lib', '../modules/codec/ffmpeg', 
                                FFMPEG_DIR + '/libavcodec'])


setup (name = 'PackageName',
       version = '1.0',
       description = 'This is a demo package',
       ext_modules = [vlc])