Hi. In a package, I have gettext catalog messages, and I want to compile them when the package is build. I looked at the Mercurial setup.py script, and what it does is: from distutils.command.build import build build.sub_commands.insert(0, ('build_mo', None)) Is this the correct way? Thanks Manlio