diff options
author | Matěj Cepl <mcepl@redhat.com> | 2014-02-13 02:24:28 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2014-02-13 02:33:25 +0100 |
commit | eba58b1bc92b21fae2761b7ffbcc626c0c4034eb (patch) | |
tree | e8cbaa96a750996e7d31f021fba6f9aefac7ce94 /setup.py | |
parent | 691a5d554757b6ccb45baa70691f0a730c5f5a0c (diff) | |
download | gg_scraper-eba58b1bc92b21fae2761b7ffbcc626c0c4034eb.tar.gz |
Make README.rst less Debian-centric.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ from __future__ import absolute_import, print_function, unicode_literals import sys from distutils.core import setup, Command +import io try: import unittest2 as unittest except ImportError: @@ -43,7 +44,7 @@ classifiers = [ def get_long_description(): - lines = open('README.rst').read().splitlines(False) + lines = io.open('README.rst', encoding='utf8').read().splitlines(False) return '\n' + '\n'.join(lines) + '\n' setup(name='gg_scraper', |