diff --git a/README.rst b/README.rst index c49f681..46eb01a 100644 --- a/README.rst +++ b/README.rst @@ -20,6 +20,10 @@ For check the domain mx and verify email exits you must have the `pyDNS` package pip install pyDNS +or install them both in one step from the beginning:: + + pip install validate-email[dns] + USAGE ===== @@ -50,4 +54,4 @@ Check if the host has SMTP Server and the email really exists:: TODOs and BUGS ============== -See: http://github.com/syrusakbary/validate_email/issues \ No newline at end of file +See: http://github.com/syrusakbary/validate_email/issues diff --git a/setup.py b/setup.py index d445a9e..60bfd56 100644 --- a/setup.py +++ b/setup.py @@ -10,5 +10,8 @@ long_description=open('README.rst').read(), keywords = 'email validation verification mx verify', url = 'http://github.com/syrusakbary/validate_email', + extras_require = { + 'dns:sys_platform != "win32"': ['pyDNS'] + }, license = 'LGPL', )