From fa244b8ee571cd1370334a3fe72ca6d55bcd6e86 Mon Sep 17 00:00:00 2001 From: cupen Date: Tue, 28 Feb 2017 13:16:59 +0800 Subject: [PATCH] fix #330 --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 8b47e3a91..1fcba0af9 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #!/usr/bin/env python +from io import open from setuptools import setup - # version_tuple = __import__('xadmin').VERSION # version = ".".join([str(v) for v in version_tuple]) @@ -8,10 +8,10 @@ name='xadmin', version='0.6.1', description='Drop-in replacement of Django admin comes with lots of goodies, fully extensible with plugin support, pretty UI based on Twitter Bootstrap.', - long_description=open('README.rst').read(), + long_description=open('README.rst', encoding='utf-8').read(), author='sshwsfc', author_email='sshwsfc@gmail.com', - license=open('LICENSE').read(), + license=open('LICENSE', encoding='utf-8').read(), url='http://www.xadmin.io', download_url='http://github.com/sshwsfc/django-xadmin/archive/master.zip', packages=['xadmin', 'xadmin.migrations', 'xadmin.plugins', 'xadmin.templatetags', 'xadmin.views'],