diff --git a/REQUIREMENTS.qa.txt b/REQUIREMENTS.qa.txt deleted file mode 100644 index c89fda9..0000000 --- a/REQUIREMENTS.qa.txt +++ /dev/null @@ -1,4 +0,0 @@ -codespell -pytest -pytest-mock -ruff diff --git a/usbsdmux/mqtthelper.py b/usbsdmux/mqtthelper.py index 876adaf..be2bb97 100644 --- a/usbsdmux/mqtthelper.py +++ b/usbsdmux/mqtthelper.py @@ -132,7 +132,7 @@ def _gather_data(ctl, sg, mode): def publish_info(ctl, config, sg, mode): """ Publish info to mqtt server, if mqtt is enabled. - This requires installing REQUIREMENTS.mqtt.txt. + This requires installing paho-mqtt. """ if not config.mqtt_enabled: @@ -146,7 +146,9 @@ def publish_info(ctl, config, sg, mode): except ImportError: print( "Sending data to an mqtt server requires paho-mqtt", - "Please install REQUIREMENTS.mqtt.txt", + "Please install it, e.g. by installing usbsdmux via:", + "", + ' python3 -m pip install "usbsdmux[mqtt]"', sep="\n", file=sys.stderr, )