Skip to content

Commit dc97373

Browse files
author
Pavel Perestoronin
committed
Follow up to PR #70, fix Python 2.x
1 parent 4ba2809 commit dc97373

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
import io
2+
13
from setuptools import find_packages, setup
24

35
setup(
46
name='python-smpplib',
57
version='1.1',
68
url='https://github.com/podshumok/python-smpplib',
79
description='SMPP library for python',
8-
long_description=open('README.md', 'rt', encoding='utf-8').read(),
10+
long_description=io.open('README.md', 'rt', encoding='utf-8').read(),
911
long_description_content_type='text/markdown',
1012
packages=find_packages(),
1113
install_requires=['six'],

0 commit comments

Comments
 (0)