forked from oaubert/python-vlc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
54 lines (50 loc) · 1.92 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
from distribute_setup import use_setuptools
use_setuptools()
import os
import re
from setuptools import setup
import sys
version = None
with open(os.path.join(os.path.dirname(__file__),
'generator',
'generate.py'), 'r') as f:
for l in f:
m = re.search('''__version__\s*=\s*["'](.+)["']''', l)
if m:
version = m.group(1)
if not version:
sys.stderr.write("Cannot determine module version number")
sys.exit(1)
setup(name='python-vlc-generator',
version = version,
author='Olivier Aubert',
author_email='[email protected]',
maintainer='Olivier Aubert',
maintainer_email='[email protected]',
url='http://wiki.videolan.org/PythonBinding',
# FIXME: setup.py is not yet complete. There should be the
# template files, etc.
py_modules=['generator/generate.py'],
keywords = [ 'vlc', 'video', 'bindings' ],
license = "GPL",
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v2 or later (LGPLv2+)",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: POSIX :: Other",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Multimedia",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Video",
"Topic :: Software Development :: Code Generators"
],
description = "VLC python bindings generator.",
long_description = """This module provides the bindings generator for the native
libvlc API (see http://wiki.videolan.org/LibVLC) of the VLC
video player.
""")