Small change to support python 2.7 as well as 3.x
This commit is contained in:
3
setup.py
3
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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user