aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2014-02-13 02:24:28 +0100
committerMatěj Cepl <mcepl@redhat.com>2014-02-13 02:33:25 +0100
commiteba58b1bc92b21fae2761b7ffbcc626c0c4034eb (patch)
treee8cbaa96a750996e7d31f021fba6f9aefac7ce94 /setup.py
parent691a5d554757b6ccb45baa70691f0a730c5f5a0c (diff)
downloadgg_scraper-eba58b1bc92b21fae2761b7ffbcc626c0c4034eb.tar.gz
Make README.rst less Debian-centric.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 3695fad..e5379e1 100644
--- a/setup.py
+++ b/setup.py
@@ -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',