enthought/comtraits — pull request #10 by cfarrow (2012-08-01 22:16:31+00:00)
Title: Module name fix

I've added a module-level variable named "module" that the builder reads and will apply as the "__module__" attribute of generated classes. I do this rather than fish for the module name in the stack so that users have complete control over the module name. Please comment. This is a good forum for discussing the "build_module protocol", which is roughly "look up configuration options in the passed namespace dictionary".