old_contents: """
  PyLaTeX
  -------
  
  PyLaTeX is a Python library for creating LaTeX files. The point of this library
  is being an easy, but extensible interface between Python and Latex.
  
  
  Features
  ~~~~~~~~
  
  The library contains some basic features I have had the need for so far.
  Currently those are:
  
  - Document generation and compilation
  - Section, table and package classes
  - An escape function
  - Bold and italic functions
  
  Everything else you want you can still add to the document by adding LaTeX
  formatted strings.
  
  
  Dependencies
  ~~~~~~~~~~~~
  
  - Python 3.3 (2.7 currently works as well)
  - pdflatex (only if you want to compile the tex file)
  
  
  Installation
  ~~~~~~~~~~~~
  
  .. code::
     pip install pylatex`
  
  Example
  ~~~~~~~
  
  .. code:: python
      from pylatex import Document, Section, Table
      from pylatex.utils import italic
  
      doc = Document()
      section = Section('Yaay the first section, it can even be ' + italic('italic'))
  
      table = Table('r|ccl')
      table.add_hline()
      table.add_row((1, 2, 3, 4))
      table.add_hline(1, 2)
      table.add_empty_row()
      table.add_row((4, 5, 6, 7))
  
      section.content.append(table)
      doc.content.append(section)
      doc.generate_pdf()
  
  This code will generate this:
  .. image:: https://raw.github.com/JelteF/PyLaTeX/master/docs/static/screenshot.png
  
  
  Future development
  ~~~~~~~~~~~~~~~~~~
  
  I will keep adding functionality I need to this library, an interface for
  graphics and math will probably be added in a future version.
  
  If you add a feature yourself, or fix a bug, please send a pull request.
  
  You can submit issues, but it will not be my priority to fix them. My job and
  education are a bit higher on the priority list.
  
  
  Support
  ~~~~~~~
  
  This library is being developed for Python 3.3. It currently works for Python
  2.7 as well, but further aditions to the library might break that
  compatibility. It is also only tested on Linux, so it might not work on any
  different platforms.
  
  I have no intention of testing on any different platforms or with different
  Python versions. I also don't have the intention to write fixes for platform or
  environment specific bugs, but pull requests that fix those are always welcome.
  
  
  """
  from distutils.core import setup
  setup(name='PyLaTeX',
        version='0.2.1.1',
        author='Jelte Fennema',
        author_email='pylatex@jeltef.nl',
        description='A Python library for creating LaTeX files',
        long_description=__doc__,
        packages=['pylatex'],
        url='https://github.com/JelteF/PyLaTeX',
        license='MIT',
        )
  
new_contents: """
  PyLaTeX
  -------
  
  PyLaTeX is a Python library for creating LaTeX files. The point of this library
  is being an easy, but extensible interface between Python and Latex.
  
  
  Features
  ~~~~~~~~
  
  The library contains some basic features I have had the need for so far.
  Currently those are:
  
  - Document generation and compilation
  - Section, table and package classes
  - An escape function
  - Bold and italic functions
  
  Everything else you want you can still add to the document by adding LaTeX
  formatted strings.
  
  
  Dependencies
  ~~~~~~~~~~~~
  
  - Python 3.3 (2.7 currently works as well)
  - pdflatex (only if you want to compile the tex file)
  
  
  Installation
  ~~~~~~~~~~~~
  
  .. code::
     pip install pylatex`
  
  Example
  ~~~~~~~
  
  .. code:: python
      from pylatex import Document, Section, Table
      from pylatex.utils import italic
  
      doc = Document()
      section = Section('Yaay the first section, it can even be ' + italic('italic'))
  
      table = Table('r|ccl')
      table.add_hline()
      table.add_row((1, 2, 3, 4))
      table.add_hline(1, 2)
      table.add_empty_row()
      table.add_row((4, 5, 6, 7))
  
      section.content.append(table)
      doc.content.append(section)
      doc.generate_pdf()
  
  This code will generate this:
  .. image:: https://raw.github.com/JelteF/PyLaTeX/master/docs/static/screenshot.png
  
  
  Future development
  ~~~~~~~~~~~~~~~~~~
  
  I will keep adding functionality I need to this library, an interface for
  graphics and math will probably be added in a future version.
  
  If you add a feature yourself, or fix a bug, please send a pull request.
  
  You can submit issues, but it will not be my priority to fix them. My job and
  education are a bit higher on the priority list.
  
  
  Support
  ~~~~~~~
  
  This library is being developed for Python 3.3. It currently works for Python
  2.7 as well, but further aditions to the library might break that
  compatibility. It is also only tested on Linux, so it might not work on any
  different platforms.
  
  I have no intention of testing on any different platforms or with different
  Python versions. I also don't have the intention to write fixes for platform or
  environment specific bugs, but pull requests that fix those are always welcome.
  
  
  """
  from distutils.core import setup
  setup(name='PyLaTeX',
        version='0.2.2',
        author='Jelte Fennema',
        author_email='pylatex@jeltef.nl',
        description='A Python library for creating LaTeX files',
        long_description=__doc__,
        packages=['pylatex'],
        url='https://github.com/JelteF/PyLaTeX',
        license='MIT',
        )
  
subject: Bump version to 0.2.2, small fix and better documentation