Skip to content

Commit a2bf75d

Browse files
authored
DX-3037 Update Description (#142)
1 parent d67ffe0 commit a2bf75d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

setup.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"""
1010

1111
import os
12+
import sys
1213
from setuptools import setup, find_packages # noqa: H301
1314

1415
NAME = "bandwidth-sdk"
@@ -20,6 +21,13 @@
2021
# prerequisite: setuptools
2122
# http://pypi.python.org/pypi/setuptools
2223

24+
if sys.version_info[0] < 3:
25+
with open('README.md', 'r') as fh:
26+
long_description = fh.read()
27+
else:
28+
with open('README.md', 'r', encoding='utf-8') as fh:
29+
long_description = fh.read()
30+
2331
REQUIRES = [
2432
"urllib3 >= 1.25.3",
2533
"python-dateutil",

0 commit comments

Comments
 (0)