M-o-a-T / moat-mqtt

An async MQTT broker and client, plus DistKV integration
MIT License
21 stars 9 forks source link

Make distkv optional #4

Closed mikenerone closed 4 years ago

mikenerone commented 4 years ago

Fixes #2

A bit more than the three lines you estimated. :P

I did notice that the tests in test_client_distkv.py were already failing. Though I made no attempt to fix those, that whole file does get skipped if distkv is not available, leading to a successful test run.

Side note: AFAICT, distmqtt works under Python 3.8, but I did not take the liberty of adding that classifier in setup.py.