zbar-windows/python/setup.py
Mauro Carvalho Chehab d24312964e Be sure to use python 2
The zbar python binding is written for python 2. I doesn't build
with python 3. While nobody works on such conversion, better to
let it clearer.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-08 07:25:27 -03:00

45 lines
1.4 KiB
Python

#!/usr/bin/env python2
from distutils.core import setup, Extension
setup(
name = 'zbar',
version = '0.10',
author = 'Jeff Brown',
author_email = 'spadix@users.sourceforge.net',
url = 'http://zbar.sourceforge.net',
description = 'read barcodes from images or video',
license = 'LGPL',
long_description = open('README').read(),
classifiers = [
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Environment :: Console',
'Environment :: X11 Applications',
'Environment :: Win32 (MS Windows)',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: Microsoft :: Windows',
'Topic :: Communications',
'Topic :: Multimedia :: Graphics',
'Topic :: Software Development :: Libraries',
],
ext_modules = [
Extension('zbar', [
'zbarmodule.c',
'enum.c',
'exception.c',
'symbol.c',
'symbolset.c',
'symboliter.c',
'image.c',
'processor.c',
'imagescanner.c',
'decoder.c',
'scanner.c',
],
libraries = [ 'zbar' ],
),
],
)