Ignore some directories in .gitignore.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Make 'python setup.py test' run nose tests.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Add Python 2.6 and 2.7 to PyPI metadata.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Remove unused imports.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Avoid adding redundant parentheses in fix_print.
Based on https://github.com/myint/python-modernize/commit/6ab4ccc73e4ff3a63f54e6d5ee19f0c53c67339c
but with an additional fix for bare 'print', and tests.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>