Mercurial > hg > zebra
view setup.py @ 26:20f6df6d3f42
- Fix for empty printer list
- Updated to 0.0.4a
- Altered to use pip
author | Ben Croston <ben@croston.org> |
---|---|
date | Sat, 16 Nov 2013 17:17:15 +0000 |
parents | 0da94dcfdd55 |
children | 7c132e01c281 |
line wrap: on
line source
#!/usr/bin/env python import sys from distutils.core import setup try: from distutils.command.build_py import build_py_2to3 as build_py except ImportError: from distutils.command.build_py import build_py classifiers = ['Development Status :: 3 - Alpha', 'Operating System :: Microsoft :: Windows', 'Operating System :: Unix', "Operating System :: MacOS :: MacOS X", 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Topic :: Printing'] long_description = open('README').read() if sys.platform.lower().startswith('win'): install_requires = 'win32print' else: install_requires = None setup(name = 'zebra', version = '0.0.4a', py_modules = ['zebra'], author = 'Ben Croston', author_email = 'ben@croston.org', maintainer = 'Ben Croston', maintainer_email = 'ben@croston.org', url = 'http://www.wyre-it.co.uk/zebra/', description = 'A package to communicate with (Zebra) label printers using EPL2', long_description = long_description, platforms = 'Windows, Unix, MacOSX', classifiers = classifiers, license = 'MIT', cmdclass = {'build_py': build_py}, install_requires = install_requires )