Small change to support python 2.7 as well as 3.x

This commit is contained in:
david reid
2015-03-26 09:53:43 +00:00
parent 33fc3a5999
commit 9930788ebd

View File

@@ -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()