Mercurial > hg > zebra
annotate 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 |
rev | line source |
---|---|
0 | 1 #!/usr/bin/env python |
2 import sys | |
29
63d1260cc64e
- class name is now 'Zebra' instead of 'zebra'
Ben Croston <ben@croston.org>
parents:
27
diff
changeset
|
3 from setuptools import setup |
0 | 4 |
27 | 5 classifiers = ['Development Status :: 5 - Production/Stable', |
0 | 6 'Operating System :: Microsoft :: Windows', |
7 'Operating System :: Unix', | |
18 | 8 "Operating System :: MacOS :: MacOS X", |
0 | 9 'License :: OSI Approved :: MIT License', |
23 | 10 'Intended Audience :: Developers', |
5
639d9699e53c
Change python 3.2 to python 3
Ben Croston <ben@fuzzyduckbrewery.co.uk>
parents:
1
diff
changeset
|
11 'Programming Language :: Python :: 3', |
0 | 12 'Topic :: Printing'] |
13 | |
14 setup(name = 'zebra', | |
29
63d1260cc64e
- class name is now 'Zebra' instead of 'zebra'
Ben Croston <ben@croston.org>
parents:
27
diff
changeset
|
15 version = '0.1.0', |
0 | 16 py_modules = ['zebra'], |
17 author = 'Ben Croston', | |
18 author_email = 'ben@croston.org', | |
19 maintainer = 'Ben Croston', | |
20 maintainer_email = 'ben@croston.org', | |
8 | 21 url = 'http://www.wyre-it.co.uk/zebra/', |
29
63d1260cc64e
- class name is now 'Zebra' instead of 'zebra'
Ben Croston <ben@croston.org>
parents:
27
diff
changeset
|
22 description = 'A package to communicate with (Zebra) label printers', |
63d1260cc64e
- class name is now 'Zebra' instead of 'zebra'
Ben Croston <ben@croston.org>
parents:
27
diff
changeset
|
23 long_description = open('README.rst').read() + '\n' + open('CHANGELOG.rst').read(), |
63d1260cc64e
- class name is now 'Zebra' instead of 'zebra'
Ben Croston <ben@croston.org>
parents:
27
diff
changeset
|
24 long_description_content_type = 'text/x-rst', |
20
8333c196accb
Updated platforms package metadata
Ben Croston <ben@croston.org>
parents:
18
diff
changeset
|
25 platforms = 'Windows, Unix, MacOSX', |
0 | 26 classifiers = classifiers, |
27 license = 'MIT', | |
29
63d1260cc64e
- class name is now 'Zebra' instead of 'zebra'
Ben Croston <ben@croston.org>
parents:
27
diff
changeset
|
28 install_requires = ["pywin32;platform_system=='Windows'"]) |