summaryrefslogtreecommitdiffstats
path: root/python/setup.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 00:06:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 00:06:44 +0000
commit44cf8ec67278bd1ab6c7f83a9993f7a5686a9541 (patch)
tree5eec4b0d1a3f163d279c3c27c03324ba49fa235a /python/setup.py
parentInitial commit. (diff)
downloadzbar-44cf8ec67278bd1ab6c7f83a9993f7a5686a9541.tar.xz
zbar-44cf8ec67278bd1ab6c7f83a9993f7a5686a9541.zip
Adding upstream version 0.23.93.upstream/0.23.93upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'python/setup.py')
-rw-r--r--python/setup.py45
1 files changed, 45 insertions, 0 deletions
diff --git a/python/setup.py b/python/setup.py
new file mode 100644
index 0000000..5c27951
--- /dev/null
+++ b/python/setup.py
@@ -0,0 +1,45 @@
+#!/usr/bin/env python
+from distutils.core import setup, Extension
+
+setup(
+ name = 'zbar',
+ version = '0.22.2',
+ 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' ],
+ include_dirs = ['../include']
+ ),
+ ],
+)