ros/catkin — pull request #192 by tkruse (2012-10-07 01:17:22+00:00)
Title: Refactor and fix interrogate setup

interrogate_setup_dot_py hacks into setuptools, and the code for that should be extra clean and unit testable
Refactored the code to be that, added unit tests.

Also modified the code beyond refactoring, as the logic used for package_dir in setup.py seemed flawed to me (broke unit test for corner cases). See commit messages.

Based on ros/catkin#176