From 9930788ebd83623258e9c22eded691df847efc18 Mon Sep 17 00:00:00 2001 From: david reid Date: Thu, 26 Mar 2015 09:53:43 +0000 Subject: [PATCH] Small change to support python 2.7 as well as 3.x --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8e98c72..100d0da 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,13 @@ from setuptools import setup, find_packages from os import path from zttf import __version__ +import io here = path.abspath(path.dirname(__file__)) # Get the long description from the relevant file -with open(path.join(here, 'README.md'), encoding='utf-8') as f: +with io.open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read()