aboutsummaryrefslogtreecommitdiffstats
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
parent691a5d554757b6ccb45baa70691f0a730c5f5a0c (diff)
downloadgg_scraper-eba58b1bc92b21fae2761b7ffbcc626c0c4034eb.tar.gz
Make README.rst less Debian-centric.
-rw-r--r--README.rst12
-rw-r--r--setup.py3
2 files changed, 12 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index c1e10ec..30d2b44 100644
--- a/README.rst
+++ b/README.rst
@@ -13,9 +13,12 @@ A small script as a replacement of `the old PHP script`_ for downloading message
How to use it?
--------------
+This script requires ``formail(1)`` from ``procmail`` package. Any
+version is OK, so please install it from your distribution’s
+repositories. Then run:
+
::
- sudo apt-get install procmail
pip install beautifulsoup4 PyYAML
python gg_scraper.py 'https://groups.google.com/forum/#!forum/<group_name>'
@@ -35,4 +38,9 @@ email (one of many of my addresses are available on my `Github page`_)
.. _`Github page`:
https://github.com/mcepl
-Of course pull requests are more than welcome in the same places as well. Currently all development is done with Python 3.3, but tests are run on Travis-CI for 2.7 and pypy as well.
+Of course pull requests are more than welcome in the same places as
+well. Currently all development is done with Python 3.3, but tests are
+run on Travis-CI_ for 2.6, 2.7, pypy, and 3.2 as well.
+
+.. _Travis-CI:
+ https://travis-ci.org/mcepl/gg_scraper/
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',