Skip to content

Commit

Permalink
Fix UnicodeDecodeError when installing on python3 (#10)
Browse files Browse the repository at this point in the history
* Fix UnicodeDecodeError when installing on python3
* Bump version to 1.3.1
  • Loading branch information
youtux committed Feb 10, 2020
1 parent 056bcb7 commit a4da06b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
@@ -1,6 +1,10 @@
Changelog
=========

1.3.1
-----
* Fix UnicodeDecodeError when installing this library on python 3 on some configurations.

1.3.0
-----

Expand Down
7 changes: 4 additions & 3 deletions setup.py
@@ -1,18 +1,19 @@
import io
from os.path import abspath, dirname, join

from setuptools import setup, find_packages

long_description = []

for text_file in ['README.rst', 'CHANGES.rst']:
with open(join(dirname(abspath(__file__)), text_file), 'r') as f:
with io.open(join(dirname(abspath(__file__)), text_file), 'r', encoding='utf-8') as f:
long_description.append(f.read())

setup(
name='traduki',
description='SQLAlchemy internationalisation',
long_description='\n'.join(long_description),
version='1.3.0',
long_description=u'\n'.join(long_description),
version='1.3.1',
author='Paylogic International',
author_email='developers@paylogic.com',
license='MIT',
Expand Down

0 comments on commit a4da06b

Please sign in to comment.