summaryrefslogtreecommitdiffstats
path: root/python/setup.py
diff options
context:
space:
mode:
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']
+ ),
+ ],
+)