Fixes issue 162: UnicodeDecodeError on pip install

This commit is contained in:
Joeri Bekker 2016-06-01 12:24:52 +02:00
parent 142f49d919
commit d724aab721

View file

@ -2,6 +2,7 @@
# -*- coding: utf-8 -*-
import os
import codecs
from setuptools import setup, find_packages
VERSION = '1.6.1'
@ -11,8 +12,8 @@ setup(
version=VERSION,
description="Keep track of failed login attempts in Django-powered sites.",
long_description=(
open("README.rst").read() + '\n' +
open("CHANGES.txt").read()),
codecs.open("README.rst", encoding='utf-8').read() + '\n' +
codecs.open("CHANGES.txt", encoding='utf-8').read()),
keywords='authentication, django, pci, security',
author='Josh VanderLinden, Philip Neustrom, Michael Blume, Camilo Nova',
author_email='codekoala@gmail.com',