Skip to content

Commit

Permalink
broke python2.7 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Feb 1, 2018
1 parent de7308b commit 930282e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
from __future__ import print_function

import os
import io
from setuptools import setup


def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname),'r',encoding='utf-8').read()
return io.open(os.path.join(os.path.dirname(__file__), fname),'r',encoding='utf-8').read()

setup(
name = "CLAM",
Expand Down

0 comments on commit 930282e

Please sign in to comment.