On Mon, Jun 7, 2010 at 11:33 AM, Ashley Abraham <[email protected]> wrote: > is there any other module similar to Traits in IronPython which I can use to > explicitly declare the attributes and to do type validation??
It looks like Traits itself isn't dependent on zipimport (it depends on setuptools, which requires zipimport), so you should be able to get away with putting an empty zipimport.py file somewhere on sys.path. I've done this before to get things setuptools stuff working; as long as it doesn't try to *use* zipimport, you're OK. I don't know of anything else that works the same, but it should be possible to make it work, if you can get IronClad to handle the C portion of it (they don't have a pure Python version, *grumble grumble*). - Jeff _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
