Skip to content

Commit ce994a6

Browse files
authored
Merge pull request #89 from Telmediq/master
Fix utf8 file input in setup.py (Fixes #88)
2 parents 5f8a16f + ba6c034 commit ce994a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@
1414

1515

1616
import os
17+
import codecs
1718
from setuptools import setup, find_packages
1819

1920

2021
def read(*rnames):
21-
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
22+
return codecs.open(os.path.join(os.path.dirname(__file__), *rnames), encoding='utf-8').read()
2223

2324

2425
setup(

0 commit comments

Comments
 (0)