diff --git a/README.rst b/README.rst index 8812c2c8..afe31af1 100644 --- a/README.rst +++ b/README.rst @@ -17,16 +17,3 @@ Full Documentation Please see http://packages.python.org/more-itertools/api.html for the list of routines. - - -Version History -=============== - -1.1 - * Added ``first`` function. - * Added Python 3 support. - * Rewrote documentation. - -1.0 - * Initial release, with ``collate``, ``peekable``, and ``chunked``. Could - really use better docs. diff --git a/docs/versions.rst b/docs/versions.rst index 2fca5848..0ea49efc 100644 --- a/docs/versions.rst +++ b/docs/versions.rst @@ -5,6 +5,8 @@ Version History 1.1 * Added ``first`` function. * Added Python 3 support. + * Added a default arg to ``peekable.peek()``. + * Noted how to easily test whether a peekable iterator is exhausted. * Rewrote documentation. 1.0 diff --git a/setup.py b/setup.py index 26e35a0a..52f93356 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,9 @@ name='more-itertools', version='1.1', description='More routines for operating on iterables, beyond itertools', - long_description=open('README.rst').read(), + long_description=(open('README.rst').read() + '\n\n' + + '\n'.join(open('docs/versions.rst').read() + .splitlines()[1:])), author='Erik Rose', author_email='erikrose@grinchcentral.com', license='MIT',