1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

use pkg_resources

This change uses if no path for e capabilities-file is supplied a
temporary file created by pkg_resources, which should be more robust
than directly accessing the file. (This failed sometimes, for example
in zipped distributions or uncommon structures)
This commit is contained in:
Patrick Kanzler
2020-05-11 22:43:44 +02:00
parent cbe412cfdb
commit b9e3827867
3 changed files with 6 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ Pillow>=2.0
qrcode>=4.0
pyserial
sphinx-rtd-theme
setuptools
setuptools-scm
docutils>=0.12
python-barcode>=0.11.0,<1