Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
f12e7ed0
Commit
f12e7ed0
authored
Dec 09, 2005
by
Olivier Aubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python/setup.py: use vlc-config --version to determine version and misc. doc updates
parent
aeb0b482
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
bindings/python/setup.py
bindings/python/setup.py
+14
-1
No files found.
bindings/python/setup.py
View file @
f12e7ed0
...
...
@@ -15,6 +15,14 @@ def get_vlcconfig():
vlcconfig
=
"sh %s"
%
vlcconfig
return
vlcconfig
def
get_vlc_version
():
vlcconfig
=
get_vlcconfig
()
if
vlcconfig
is
None
:
return
""
else
:
version
=
os
.
popen
(
'%s --version'
%
vlcconfig
,
'r'
).
readline
().
strip
()
return
version
def
get_cflags
():
vlcconfig
=
get_vlcconfig
()
if
vlcconfig
is
None
:
...
...
@@ -43,8 +51,10 @@ vlclocal = Extension('vlc',
)
setup
(
name
=
'MediaControl'
,
version
=
'0.8.2-1'
,
version
=
get_vlc_version
()
,
scripts
=
[
'vlcdebug.py'
],
keywords
=
[
'vlc'
,
'video'
],
license
=
"GPL"
,
description
=
"""VLC bindings for python.
This module provides a MediaControl object, which implements an API
...
...
@@ -52,6 +62,9 @@ inspired from the OMG Audio/Video Stream 1.0 specification. Moreover,
the module provides a Object type, which gives a low-level access to
the vlc objects and their variables.
Documentation can be found on the VLC wiki :
http://wiki.videolan.org/index.php/PythonBinding
Example session:
import vlc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment