Mercurial > hg > zebra
view setup.py @ 29:63d1260cc64e 0.1.0
- class name is now 'Zebra' instead of 'zebra'
- Fix for missing win32print module in pypi
- Drop python 2 support
- use setuptools instead of distutils
- improve documentation
- Added reset(), reset_default(), autosense(), print_config_label() and
print_graphic() functions
author | Ben Croston <ben@croston.org> |
---|---|
date | Tue, 01 Sep 2020 15:57:24 +0100 |
parents | 7c132e01c281 |
children |
line wrap: on
line source
#!/usr/bin/env python import sys from setuptools import setup classifiers = ['Development Status :: 5 - Production/Stable', 'Operating System :: Microsoft :: Windows', 'Operating System :: Unix', "Operating System :: MacOS :: MacOS X", 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', 'Topic :: Printing'] setup(name = 'zebra', version = '0.1.0', 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', long_description = open('README.rst').read() + '\n' + open('CHANGELOG.rst').read(), long_description_content_type = 'text/x-rst', platforms = 'Windows, Unix, MacOSX', classifiers = classifiers, license = 'MIT', install_requires = ["pywin32;platform_system=='Windows'"])