python-escpos/src/escpos/__init__.py

16 lines
438 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
"""
python-escpos enables you to manipulate escpos-printers
"""
2015-11-27 20:20:12 +00:00
__all__ = ["constants", "escpos", "exceptions", "printer"]
try:
from .version import version as __version__ # noqa
except ImportError: # pragma: no cover
raise ImportError(
2021-10-30 16:15:22 +00:00
"Failed to find (autogenerated) version.py. "
"This might be because you are installing from GitHub's tarballs, "
"use the PyPI ones."
)