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. Signed-off-by: Romain Porte <microjoe@microjoe.org>
This commit is contained in:
parent
ab210b5996
commit
b0ea9aec41
|
@ -43,7 +43,7 @@ This library makes use of:
|
|||
* `Pillow <https://github.com/python-pillow/Pillow>`_ for image printing
|
||||
* `qrcode <https://github.com/lincolnloop/python-qrcode>`_ for the generation of QR-codes
|
||||
* `pyserial <https://github.com/pyserial/pyserial>`_ for serial printers
|
||||
* `viivakoodi <https://github.com/kxepal/viivakoodi>`_ for the generation of barcodes
|
||||
* `python-barcode <https://github.com/WhyNotHugo/python-barcode>`_ for the generation of barcodes
|
||||
|
||||
Documentation and Usage
|
||||
-----------------------
|
||||
|
|
|
@ -5,4 +5,4 @@ pyserial
|
|||
sphinx-rtd-theme
|
||||
setuptools-scm
|
||||
docutils>=0.12
|
||||
viivakoodi
|
||||
python-barcode>=0.11.0,<1
|
||||
|
|
|
@ -39,6 +39,7 @@ install_requires =
|
|||
Pillow>=2.0
|
||||
qrcode>=4.0
|
||||
pyserial
|
||||
python-barcode>=0.9.1,<1
|
||||
six
|
||||
appdirs
|
||||
PyYAML
|
||||
|
|
3
tox.ini
3
tox.ini
|
@ -18,6 +18,7 @@ deps = nose
|
|||
pytest-cov
|
||||
pytest-mock
|
||||
hypothesis>4
|
||||
python-barcode
|
||||
viivakoodi
|
||||
commands = pytest --cov escpos
|
||||
passenv = ESCPOS_CAPABILITIES_PICKLE_DIR ESCPOS_CAPABILITIES_FILE CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_* CODECOV_*
|
||||
|
@ -27,7 +28,7 @@ basepython = python
|
|||
changedir = doc
|
||||
deps = sphinx>=1.5.1
|
||||
setuptools_scm
|
||||
viivakoodi
|
||||
python-barcode
|
||||
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
||||
|
||||
[testenv:flake8]
|
||||
|
|
Loading…
Reference in New Issue