[Ironpython-users] Passing an IronPython function to C#

2012-03-15 Thread Doug Blank
I am attempting to pass an IronPython function into the following C# functions, which I import into IronPython: public static Func getFunc1(params Func [] functions) { return functions[0]; } public static Func getFunc2(IList> functions) {

Re: [Ironpython-users] IPY 2.7.2.1. Using pyc.py for standalone exe

2012-03-15 Thread Slide
I also need to add in a try/catch around the call to the Python module and output better error messages. :-) On Thu, Mar 15, 2012 at 8:16 AM, Dominique de Waleffe wrote: > > Will try your suggestion and I will also spend a bit of time to construct > the list of needed dependencies so that pyc can

Re: [Ironpython-users] IPY 2.7.2.1. Using pyc.py for standalone exe

2012-03-15 Thread Dominique de Waleffe
Will try your suggestion and I will also spend a bit of time to construct the list of needed dependencies so that pyc can do a better job... Will also file an issue later on today. D. # Dominique de Waleffe # ddewaleffe -at- gmail -dot- com # domi -at- dewaleffe -dot-

Re: [Ironpython-users] IPY 2.7.2.1. Using pyc.py for standalone exe

2012-03-15 Thread Slide
There is no need to use the CPython stdlib, the IP installer comes with a stdlib that has some mods for it to work better. Check the Lib directory where you installed IP. Also, you can set IRONPYTHONPATH to have it find things. On Mar 15, 2012 5:49 AM, wrote: > Thursday, March 15, 2012, 3:49:36

Re: [Ironpython-users] IPY 2.7.2.1. Using pyc.py for standalone exe

2012-03-15 Thread mchalkley
Title: Re: [Ironpython-users] IPY 2.7.2.1. Using pyc.py for standalone exe Thursday, March 15, 2012, 3:49:36 AM, you wrote: I am not sure whether this should be expected to work or not, nor if I am using this correctly... I tried to generate a standalone exe for a tool I have (3 modules) bu

[Ironpython-users] IronPython, Daily Digest 3/14/2012

2012-03-15 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New issue] ast module is broken - TypeError: object.__new__() takes no parameters 2. [New issue] ironpython pdb throwing exception (broken in 2.7) 3. [New comment] Iron Python can't exec

[Ironpython-users] IPY 2.7.2.1. Using pyc.py for standalone exe

2012-03-15 Thread Dominique de Waleffe
I am not sure whether this should be expected to work or not, nor if I am using this correctly... I tried to generate a standalone exe for a tool I have (3 modules) but it bombs out at startup with: Unhandled Exception: IronPython.Runtime.Exceptions.ImportException: No module named os at DLRCa