document requirement for ipaddress module

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
This commit is contained in:
Tomas Tomecek 2016-09-27 08:45:41 +02:00
parent b65de73afe
commit aa2bd80ebb
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ if sys.platform == 'win32':
extras_require = {
':python_version < "3.5"': 'backports.ssl_match_hostname >= 3.5',
# While not imported explicitly, the ipaddress module is required for
# ssl_match_hostname to verify hosts match with certificates via
# ServerAltname: https://pypi.python.org/pypi/backports.ssl_match_hostname
':python_version < "3.3"': 'ipaddress >= 1.0.16',
}