Check zeroconf installation before adding to setuptools

This commit is contained in:
Ivan Kravets
2017-12-19 12:41:56 +02:00
parent 9f2875fcd7
commit c6abdf8206
3 changed files with 28 additions and 3 deletions

View File

@ -227,3 +227,10 @@ class CygwinEnvDetected(PlatformioException):
MESSAGE = "PlatformIO does not work within Cygwin environment. "\
"Use native Terminal instead."
class ZeroconfIsNotInstalled(PlatformioException):
MESSAGE = "Python multicast DNS service discovery library has not been "\
"installed automatically. Please open terminal and run \n"\
"> pip install zeroconf"