[IronPython] recommended methods for 'installing' assemblies

Michael Foord fuzzyman at voidspace.org.uk
Sat Sep 27 18:01:39 CEST 2008


sevenseeker wrote:
> I am completely new to IronPython and .NET so please bare with me.
>
> I want to add some libraries/assemblies to the python path so that I
> can just call clr.addReference('spam') from anywhere.
>
> What is the recommended method for achieving this?  Should I extend
> the PYTHONPATH?  Can/should I create a setup.py and install them from
> there?  Is there a distutils and/or setuptools for IronPython?
>   

The recommended method is entirely dependent on your application 
deployment scenario.

A useful technique is to keep all your assemblies in a single directory 
and add this to 'sys.path' at runtime.

All the best,

Michael Foord

> Thanks,
> Jason
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>   


-- 
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/
http://www.trypython.org/
http://www.ironpython.info/
http://www.theotherdelia.co.uk/
http://www.resolverhacks.net/




More information about the Ironpython-users mailing list