Some Python packages install test code which we do not need. Add support for removing them post-install.
Cc: @mwestphal