hide cups and WIn32Raw

currently they are not always importable and that creates issues.
The todo in __init__.py has to be resolved first
This commit is contained in:
Patrick Kanzler 2023-08-16 23:54:45 +02:00
parent 2d4f2c24ec
commit 1a2273a5b3

View File

@ -2,7 +2,7 @@
"""printer implementations.""" """printer implementations."""
# from .win32raw import Win32Raw # from .win32raw import Win32Raw
from .cups import CupsPrinter # from .cups import CupsPrinter
from .dummy import Dummy from .dummy import Dummy
from .file import File from .file import File
from .lp import LP from .lp import LP
@ -17,7 +17,8 @@ __all__ = [
"Serial", "Serial",
"LP", "LP",
"Dummy", "Dummy",
"CupsPrinter", # "CupsPrinter",
# "Win32Raw",
] ]
# TODO check which printers are importable and add only those to the namespace # TODO check which printers are importable and add only those to the namespace