[IronPython] Ironpython attribute validation

Jeff Hardy jdhardy at gmail.com
Mon Jun 7 18:49:32 CEST 2010


On Mon, Jun 7, 2010 at 10:41 AM, Ashley Abraham <abrahams84 at gmail.com> wrote:
> Hi,
>    In Python I am used to using enthought's Traits to validate attributes
> and explicitly declare variable types, is there anything similar to that in
> IronPython. Also, when I try to import enthought's traits module (with
> ironclad) in IronPython I get ImportError: No module named zipimport is
> there a way around to get around this??? is IronPython compatible with
> setuptools??

There isn't a zipimport for IronPython, unfortunately. It's also the
big hurdle preventing setuptools/distribute from fully working (it
mostly works, if you can avoid zipped eggs). I tried to get it to work
a long time ago but never had time to finish it.

- Jeff



More information about the Ironpython-users mailing list