Skip to content

Commit

Permalink
Add ipaddress as a dependency. urllib3 will fix ssl ipaddress hostnam…
Browse files Browse the repository at this point in the history
…es if this package exists
  • Loading branch information
mbohlool committed Nov 23, 2016
1 parent b2f2f5a commit f6e417d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ setuptools >= 21.0.0
urllib3 >= 1.19.1
pyyaml >= 3.12
oauth2client >= 4.0.0
ipaddress >= 1.0.17

14 changes: 11 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
# limitations under the License.

import sys
from setuptools import setup, find_packages

from setuptools import find_packages, setup

NAME = "kubernetes"
VERSION = "1.0.0-alpha.1"
Expand All @@ -25,7 +26,14 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools

REQUIRES = ["urllib3 >= 1.19", "six >= 1.10", "certifi", "python-dateutil", "pyyaml", "oauth2client"]
REQUIRES = [
"urllib3 >= 1.19",
"six >= 1.10",
"certifi",
"python-dateutil",
"pyyaml",
"oauth2client",
"ipaddress"]

setup(
name=NAME,
Expand All @@ -38,7 +46,7 @@
keywords=["Swagger", "OpenAPI", "Kubernetes"],
install_requires=REQUIRES,
packages=['kubernetes', 'kubernetes.client', 'kubernetes.config',
'kubernetes.watch', 'kubernetes.client.apis',
'kubernetes.watch', 'kubernetes.client.apis',
'kubernetes.client.models'],
include_package_data=True,
long_description="""\
Expand Down

0 comments on commit f6e417d

Please sign in to comment.