1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-12-02 09:43:30 +00:00

barcodes: replace viivakoodi with python-barcode

python-barcode is yet another clone of the PyPI barcode library, but
which is still developped compared to viivakoodi.

The author provides Python 3.7 support in the last release, which is a
nice to have.  However, since this dependency requires at least Python
3.5, we have to align our minimum supported version to 3.5 too, and drop
near EOL Python 2.7 support.

Signed-off-by: Romain Porte <microjoe@microjoe.org>
This commit is contained in:
Romain Porte
2019-10-07 07:25:28 +02:00
parent 4955fe3264
commit 599bd6c9e4
5 changed files with 6 additions and 9 deletions

View File

@@ -62,7 +62,6 @@ setup(
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
@@ -82,7 +81,7 @@ setup(
'argparse',
'argcomplete',
'future',
'viivakoodi>=0.8'
'python-barcode>=0.9.1,<1'
],
setup_requires=[
'setuptools_scm',