At 05:53 PM 5/14/2010 +0200, Manlio Perillo wrote:
By the way: in order to get messages compiled, should I just subclass
build and develop commands?

I don't understand your question.

Do you mean "should I just subclass the 'build' command and the 'develop' command"? or "should I just subclass the 'build' command and develop my own commands based on that?" or "should I just subclass the 'build' command and develop my own commands from scratch without subclassing?"

Personally, however, if I had to do what you're doing, I'd package a build_mo command as a setuptools plugin, and add it to my build_requires dependencies. That way, I could use it with multiple projects. I'd still have to do the short 'build' subclass in the setup.py, but it's not a lot of code to add.

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to