Mercurial > hg > zebra
annotate setup.py @ 27:7c132e01c281 0.0.5
Add -oraw to lpr command
author | Ben Croston <ben@croston.org> |
---|---|
date | Mon, 27 Apr 2015 11:38:07 +0100 |
parents | 20f6df6d3f42 |
children | 63d1260cc64e |
rev | line source |
---|---|
0 | 1 #!/usr/bin/env python |
2 import sys | |
3 from distutils.core import setup | |
4 | |
5 try: | |
8 | 6 from distutils.command.build_py import build_py_2to3 as build_py |
0 | 7 except ImportError: |
8 | 8 from distutils.command.build_py import build_py |
0 | 9 |
27 | 10 classifiers = ['Development Status :: 5 - Production/Stable', |
0 | 11 'Operating System :: Microsoft :: Windows', |
12 'Operating System :: Unix', | |
18 | 13 "Operating System :: MacOS :: MacOS X", |
0 | 14 'License :: OSI Approved :: MIT License', |
23 | 15 'Intended Audience :: Developers', |
0 | 16 'Programming Language :: Python :: 2.7', |
5
639d9699e53c
Change python 3.2 to python 3
Ben Croston <ben@fuzzyduckbrewery.co.uk>
parents:
1
diff
changeset
|
17 'Programming Language :: Python :: 3', |
0 | 18 'Topic :: Printing'] |
19 | |
20 long_description = open('README').read() | |
21 | |
1 | 22 if sys.platform.lower().startswith('win'): |
26 | 23 install_requires = 'win32print' |
0 | 24 else: |
26 | 25 install_requires = None |
0 | 26 |
27 setup(name = 'zebra', | |
27 | 28 version = '0.0.5', |
0 | 29 py_modules = ['zebra'], |
30 author = 'Ben Croston', | |
31 author_email = 'ben@croston.org', | |
32 maintainer = 'Ben Croston', | |
33 maintainer_email = 'ben@croston.org', | |
8 | 34 url = 'http://www.wyre-it.co.uk/zebra/', |
0 | 35 description = 'A package to communicate with (Zebra) label printers using EPL2', |
36 long_description = long_description, | |
20
8333c196accb
Updated platforms package metadata
Ben Croston <ben@croston.org>
parents:
18
diff
changeset
|
37 platforms = 'Windows, Unix, MacOSX', |
0 | 38 classifiers = classifiers, |
39 license = 'MIT', | |
40 cmdclass = {'build_py': build_py}, | |
26 | 41 install_requires = install_requires |
0 | 42 ) |