Skip to content

Commit

Permalink
Don't guess the encoding, use UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
rfleschenberg committed Sep 29, 2016
1 parent c6f030d commit 70cda24
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,5 +1,6 @@
# -*- coding: utf-8 -*-

import io
from setuptools import setup

requires = ['Django >= 1.4', 'six>=1.4.1']
Expand All @@ -10,7 +11,7 @@
description="A non-persistent in-memory data storage backend for Django.",
version="1.4.0",
url="https://github.com/waveaccounting/dj-inmemorystorage",
license=open('LICENSE').read(),
license=io.open('LICENSE', encoding='utf-8').read(),
long_description=open('README.rst').read(),
author='Cody Soyland, Seán Hayes, Tore Birkeland, Nick Presta',
author_email='[email protected]',
Expand Down

0 comments on commit 70cda24

Please sign in to comment.