ralsina/nikola — pull request #191 by okin (2012-12-23 12:52:59+00:00)
Title: Testable plugins; wordpress import: tests and refactorings; Improved Python 3 compatibility.

A little bit late to the party but with more presents ;)

Included in this is...
- Updated travis-ci.org configuration. This now runs the nikola command aswell. This will show rightaway if Yapsy has issues collecting the plugins.
- Made the plugins importable. Right now only the Wordpress import plugin gets importet.
- Tests for the Wordpress Import Plugin. With this come some refactorings in the module. I moved most of the methods from the module to the importer class. An example of a wordpress export file is included with the tests. This is a modified version of one of my wordpress exports with rewritten links.
- In ``command_install_theme.py`` I made it import the ``io``-Module to have Python 3 compatibility.
- The ``sitemap-gen.py`` now works with Python 3.
- Markdown & Jinja2 are added to the requirements.
- When running ``setup.py`` the configparser only is listed as a requirement when we are running Python 2.x. Installing configparser in Python 3 would result in an error.
- ``setup.py`` lists ``nikola.plugins`` and the packages in the plugins-folder as packages for the setup. This is necessary because the packages are now importable. Without this Yapsy will throw errors.

I was able to run the import and build under Python 2, the import works with Python 3 aswell but I was not able to build it. I doubt that this is related to the changes I made.