Changeset f12e7ed0dd045316870f47c719df95e4e91ef2e0
- 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
| r4208865 |
rf12e7ed |
|
| 16 | 16 | return vlcconfig |
|---|
| 17 | 17 | |
|---|
| | 18 | def 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 | |
|---|
| 18 | 26 | def get_cflags(): |
|---|
| 19 | 27 | vlcconfig=get_vlcconfig() |
|---|
| … | … | |
| 44 | 52 | |
|---|
| 45 | 53 | setup (name = 'MediaControl', |
|---|
| 46 | | version = '0.8.2-1', |
|---|
| | 54 | version = get_vlc_version(), |
|---|
| 47 | 55 | scripts = [ 'vlcdebug.py' ], |
|---|
| | 56 | keywords = [ 'vlc', 'video' ], |
|---|
| | 57 | license = "GPL", |
|---|
| 48 | 58 | description = """VLC bindings for python. |
|---|
| 49 | 59 | |
|---|
| … | … | |
| 52 | 62 | the module provides a Object type, which gives a low-level access to |
|---|
| 53 | 63 | the vlc objects and their variables. |
|---|
| | 64 | |
|---|
| | 65 | Documentation can be found on the VLC wiki : |
|---|
| | 66 | http://wiki.videolan.org/index.php/PythonBinding |
|---|
| 54 | 67 | |
|---|
| 55 | 68 | Example session: |
|---|