[IronPython] recommended methods for 'installing' assemblies

Michael Foord fuzzyman at voidspace.org.uk
Sat Sep 27 18:21:50 CEST 2008


sevenseeker wrote:
> simple indeed, thank you for your input
>
> Do you know if there are plans for distutils and setuptools
> functionality in IronPython?  Those really are helpful.
>   

Have you tried distutils?

If it doesn't work you can file bug reports.

Michael

> Thanks,
> Jason
>
> On Sep 27, 11:01 am, Michael Foord <fuzzy... at voidspace.org.uk> wrote:
>   
>> 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
>>> Us... 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/
>>
>> _______________________________________________
>> Users mailing list
>> Us... at lists.ironpython.comhttp://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>>     
> _______________________________________________
> 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