
Python 2.7 EOL is arriving on 2020-01-01: https://pythonclock.org/ This will allow us to use Python 3 only libraries, like python-barcode, which can maintain a reduced, simpler codebase, due to only one version to support. Closes #371. Signed-off-by: Romain Porte <microjoe@microjoe.org>
16 lines
439 B
Python
16 lines
439 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
python-escpos enables you to manipulate escpos-printers
|
|
"""
|
|
|
|
__all__ = ["constants", "escpos", "exceptions", "printer"]
|
|
|
|
try:
|
|
from .version import version as __version__ # noqa
|
|
except ImportError: # pragma: no cover
|
|
raise ImportError(
|
|
'Failed to find (autogenerated) version.py. '
|
|
'This might be because you are installing from GitHub\'s tarballs, '
|
|
'use the PyPI ones.'
|
|
)
|