Skip to content

Commit 6db4d2d

Browse files
authored
Add dns extras in setup.py
Add an `extras_require` section in ` setup.py` for installing `pyDNS` dependency if not on Windows, and installed like this: pip install validate-email[dns]
1 parent eaf2668 commit 6db4d2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
long_description=open('README.rst').read(),
1111
keywords = 'email validation verification mx verify',
1212
url = 'http://github.com/syrusakbary/validate_email',
13+
extras_require = {
14+
'dns"sys_platform != "win32"': ['pyDNS']
15+
},
1316
license = 'LGPL',
1417
)

0 commit comments

Comments
 (0)