8000 Add ipaddress as a dependency. urllib3 will fix ssl ipaddress hostnam… · mbohlool/client-python@f6e417d · GitHub
[go: up one dir, main page]

Skip to content

Commit f6e417d

Browse files
committed
Add ipaddress as a dependency. urllib3 will fix ssl ipaddress hostnames if this package exists
1 parent b2f2f5a commit f6e417d

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ setuptools >= 21.0.0
55
urllib3 >= 1.19.1
66
pyyaml >= 3.12
77
oauth2client >= 4.0.0
8+
ipaddress >= 1.0.17
89

setup.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
# limitations under the License.
1414

1515
import sys
16-
from setuptools import setup, find_packages
16+
17+
from setuptools import find_packages, setup
1718

1819
NAME = "kubernetes"
1920
VERSION = "1.0.0-alpha.1"
@@ -25,7 +26,14 @@
2526
# prerequisite: setuptools
2627
# http://pypi.python.org/pypi/setuptools
2728

28-
REQUIRES = ["urllib3 >= 1.19", "six >= 1.10", "certifi", "python-dateutil", "pyyaml", "oauth2client"]
29+
REQUIRES = [
30+
"urllib3 >= 1.19",
31+
"six >= 1.10",
32+
"certifi",
33+
"python-dateutil",
34+
"pyyaml",
35+
"oauth2client",
36+
"ipaddress"]
2937

3038
setup(
3139
name=NAME,
@@ -38,7 +46,7 @@
3846
keywords=["Swagger", "OpenAPI", "Kubernetes"],
3947
install_requires=REQUIRES,
4048
packages=['kubernetes', 'kubernetes.client', 'kubernetes.config',
41-
'kubernetes.watch', 'kubernetes.client.apis',
49+
'kubernetes.watch', 'kubernetes.client.apis',
4250
'kubernetes.client.models'],
4351
include_package_data=True,
4452
long_description="""\

0 commit comments

Comments
 (0)
0