Clean up python config