Changeset f12e7ed0dd045316870f47c719df95e4e91ef2e0

Show
Ignore:
Timestamp:
12/09/05 18:54:47 (3 years ago)
Author:
Olivier Aubert <olivier.aubert@liris.cnrs.fr>
git-committer:
Olivier Aubert <olivier.aubert@liris.cnrs.fr> 1134150887 +0000
git-parent:

[aeb0b482bf6895d141b70d8b0d05c12a5ec0348c]

git-author:
Olivier Aubert <olivier.aubert@liris.cnrs.fr> 1134150887 +0000
Message:

python/setup.py: use vlc-config --version to determine version and misc. doc updates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bindings/python/setup.py

    r4208865 rf12e7ed  
    1616    return vlcconfig 
    1717 
     18def get_vlc_version(): 
     19    vlcconfig=get_vlcconfig() 
     20    if vlcconfig is None: 
     21        return "" 
     22    else: 
     23        version=os.popen('%s --version' % vlcconfig, 'r').readline().strip() 
     24        return version 
     25     
    1826def get_cflags(): 
    1927    vlcconfig=get_vlcconfig() 
     
    4452 
    4553setup (name = 'MediaControl', 
    46        version = '0.8.2-1'
     54       version = get_vlc_version()
    4755       scripts = [ 'vlcdebug.py' ], 
     56       keywords = [ 'vlc', 'video' ], 
     57       license = "GPL",  
    4858       description = """VLC bindings for python. 
    4959 
     
    5262the module provides a Object type, which gives a low-level access to 
    5363the vlc objects and their variables. 
     64 
     65Documentation can be found on the VLC wiki :  
     66http://wiki.videolan.org/index.php/PythonBinding 
    5467 
    5568Example session: