From dd42dcd37c92bf02712ca2334f5384db3c3fe704 Mon Sep 17 00:00:00 2001 From: cliedeman Date: Wed, 9 May 2018 12:48:49 +0200 Subject: [PATCH] Make compatible with python 3 --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 10b36fe..b46fd50 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ +import io from setuptools import setup -version = open('VERSION').read() +version = io.open('VERSION').read() setup( name='sqlalchemy_opentracing', version=version, @@ -10,7 +11,7 @@ author='Carlos Alberto Cortez', author_email='calberto.cortez@gmail.com', description='OpenTracing support for SQLAlchemy', - long_description=open('README.rst').read(), + long_description=io.open('README.rst', encoding='utf8').read(), packages=['sqlalchemy_opentracing'], platforms='any', install_requires=[