Skip to content

Commit

Permalink
Fixed encoding bug when building Python package on Python3/non-utf8 s…
Browse files Browse the repository at this point in the history
…ystem
  • Loading branch information
NaPs committed May 21, 2014
1 parent e03ed41 commit 8d07425
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
@@ -1,8 +1,9 @@
from setuptools import setup, find_packages
from io import open
import os

version = '2.1~dev'
ldesc = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
ldesc = open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf8').read()

setup(name='confiture',
version=version,
Expand Down

0 comments on commit 8d07425

Please sign in to comment.