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

@@ -40,6 +40,7 @@ install_requires =
qrcode>=4.0
pyserial
python-barcode>=0.9.1,<1
setuptools
six
appdirs
PyYAML