Skip to content

Commit

Permalink
Merge pull request #134 from jwygoda/setup
Browse files Browse the repository at this point in the history
Fixed Python 3 compatibility
  • Loading branch information
garnaat authored Sep 24, 2019
2 parents 1b9b8c8 + 0b41759 commit e404e5e
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
@@ -1,6 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from io import open
from kappa import __version__
import os

Expand All @@ -11,7 +12,7 @@


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


def run_setup():
Expand Down

0 comments on commit e404e5e

Please sign in to comment.