Re: [IronPython] compiling an executable with the standard library

2010-07-12 Thread Andrew Evans
I can if you would like me to track down the error but I did manage to fix it. Using the suggested threading method. Although importing the stdlib failed somehow Not sure what happened. I noticed after my first post that I should be using /target:winexe So was using that since then so all of this w

Re: [IronPython] compiling an executable with the standard library

2010-07-12 Thread Dino Viehland
Ahh the XAML means you probably have a GUI app... You probably need /target:winexe in the options for compiling the EXE instead of /target:exe. If that doesn't fix it can you attach a debugger when it crashes and get the stack trace? From: users-boun...@lists.ironpython.com [mailto:users-bou

Re: [IronPython] compiling an executable with the standard library

2010-07-12 Thread Michael Foord
On 12/07/2010 23:56, Andrew Evans wrote: A quick thought do I need to reference Threading by doing something like "stdlib.Threading" or can I just do from Threading import * Threading is imported from .NET and not from a Python library. The usual import is "from System.Threading import Thread

Re: [IronPython] compiling an executable with the standard library

2010-07-12 Thread Andrew Evans
A quick thought do I need to reference Threading by doing something like "stdlib.Threading" or can I just do from Threading import * On Mon, Jul 12, 2010 at 3:54 PM, Andrew Evans wrote: > Hell ty for your fast reply. > > > I compiled the dll using your script. I then did a clr.AddReference in m

Re: [IronPython] compiling an executable with the standard library

2010-07-12 Thread Andrew Evans
Hell ty for your fast reply. I compiled the dll using your script. I then did a clr.AddReference in my py code. I also switched to Python 2.6.0. I compiled my code and copied the necessary dlls from my IronPython install to my my executable output directory along with my xaml file. How ever when

[IronPython] Access functions from other modules in an embedded environment

2010-07-12 Thread Danny Fernandez
Hi I am planning on using IronPython 2.6.1 .NET 2.0 in a embedded in my C# app. I am playing with able to call python functions from C#. I had a question about how do you call other functions from modules that were imported. Here is a simple example moduleA.py has the following import moduleB de

[IronPython] multiarray module?

2010-07-12 Thread William Johnston
Hello, Is the multiarray module implemented for IronPython? Thanks. ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] script c# application

2010-07-12 Thread Aaron Boxer
Thanks, Dino! On Mon, Jul 12, 2010 at 2:03 PM, Dino Viehland wrote: > Aaron wrote: >> Hello! >> >> I have a c# application, and I need to make it scriptable for testing >> purposes.  So, what I would like to do is: >> >> 1) run my program >> 2) pop up a window where I could interactively execute

Re: [IronPython] IPy Dependencies?

2010-07-12 Thread Michael Foord
On 12/07/2010 19:31, Funke, Matt wrote: Is there any chance that IronPython has dependencies on PyQt or anything like that? Absolutely no chance at all. :-) Michael My copy of PyScripter (1.9.9.7) stopped working after I tried to use it to edit some scripts I was building for IronPython.

[IronPython] IPy Dependencies?

2010-07-12 Thread Funke, Matt
Is there any chance that IronPython has dependencies on PyQt or anything like that? My copy of PyScripter (1.9.9.7) stopped working after I tried to use it to edit some scripts I was building for IronPython. Rebooting and re-installing has not fixed the problem. I'm just trying to troubleshoo

Re: [IronPython] compiling an executable with the standard library

2010-07-12 Thread Dino Viehland
socket is actually a built-in in IronPython. So you really only need threading. But threading depends upon functools, and collections, and traceback. I'm not sure how far the transitive closure goes so let's just assume you'll need to compile the entire standard library. You can actually co

Re: [IronPython] script c# application

2010-07-12 Thread Dino Viehland
Aaron wrote: > Hello! > > I have a c# application, and I need to make it scriptable for testing > purposes. So, what I would like to do is: > > 1) run my program > 2) pop up a window where I could interactively execute IronPython > commands, to manipulate the c# classes in my application > 3)be

[IronPython] compiling an executable with the standard library

2010-07-12 Thread Andrew Evans
I am having problems compiling an executable. From what research I have done, I need to include in my compilation the python standard modules that I am using. How ever I can not figure out how to do this. Any advice would be appreciated here is the command I am using ipy \pyc.py /main:\p2pChat.py

Re: [IronPython] IronPython tool VS 2010 - numby

2010-07-12 Thread Harry Percival
if you meant numpy, it doesn't work natively on ironpython, but you can still use it with IronClad http://www.resolversystems.com/documentation/index.php/Ironclad On Mon, Jul 12, 2010 at 5:47 PM, Philipp Singer wrote: > Hey! > > Can anybody tell me, how to add the numby library to my visual stud

[IronPython] IronPython tool VS 2010 - numby

2010-07-12 Thread Philipp Singer
Hey! Can anybody tell me, how to add the numby library to my visual studio 2010 project? Thanks Philipp ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com