From 26ed9c4ecb7b05cd81ba331571cedd0313a0a1c3 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Thu, 17 Aug 2023 01:30:05 +0200 Subject: [PATCH] enable all extras on tox --- doc/user/installation.rst | 8 ++++++++ tox.ini | 1 + 2 files changed, 9 insertions(+) diff --git a/doc/user/installation.rst b/doc/user/installation.rst index ff5c3c2..fd4d6f7 100644 --- a/doc/user/installation.rst +++ b/doc/user/installation.rst @@ -21,6 +21,14 @@ always install from PyPi. If you use the ``--pre`` parameter for ``pip``, you will get the latest pre-release. +The following installation options exist: + + * `all`: install all packages available for this platform + * `usb`: install packages required for USB printers + * `serial`: install packages required for serial printers + * `win32`: install packages required for win32 printing (only Windows) + * `cups`: install packages required for CUPS printing + Setup udev for USB-Printers --------------------------- 1. Get the *Product ID* and *Vendor ID* from the lsusb command diff --git a/tox.ini b/tox.ini index 9106c37..c990d90 100644 --- a/tox.ini +++ b/tox.ini @@ -22,6 +22,7 @@ deps = jaconv pytest-mock hypothesis>4 python-barcode +extras = all commands = pytest passenv = ESCPOS_CAPABILITIES_PICKLE_DIR, ESCPOS_CAPABILITIES_FILE, CI, TRAVIS, TRAVIS_*, APPVEYOR, APPVEYOR_*, CODECOV_* setenv = PY_IGNORE_IMPORTMISMATCH=1