[IPython-dev] Help! TR: TR: Ipython plugin

Fernando Perez fperez.net@gmail....
Mon Jun 2 01:19:53 CDT 2008


Hey Laurent,

sorry I'm only now digging from under the world :)

2008/3/29 Laurent Dufrechou <laurent.dufrechou@gmail.com>:
> Hi guys,
>
> I've submitted a pre-plugin for editra as an alternative to pyshell ;)
>
> All is working except some quirk with ctrl+c (editra interact with it) and
> enter under mac osx….
>
> (I had never tried under mac osx.)
>
> So here are my two help request:
>
> -Can somebody tell if it exist a macosx emulator??? Or is there someone
> willing to help me debug this remotely? (else trying to correct the code by
> itself with my help or perhaps via a vnc connection?)

I think people have hacked OSX into running under virtualization
environments, but it's not officially supported as best I know.

> Here is what cody saw:
>
> 2) The plugin loads and shows on Mac OSX but there must be some problem with
> the key handling because hitting 'Enter' only inserts a new line in the
> control and doesn't execute the command. This problem doesn't exist when
> running under wxGTK.
>
>
>
> -Cody is asking if it is possible to embed Ipython in the plugin:
>
> It might also be interesting to try and embed IPython itself into the plugin
> so nobody has to worry about dependencies. If IPython is pure python (not a
> C extension) this should be as easy as copying the IPython directory into
> your plugins __init__.py path and then including it the setup.py's data
> files.
>
>
>
> Does Ipython as C dependency I'm not aware of???

No, IPython is pure python.  So yes, embedding it should be pretty
straightforward.  See this:

http://ipython.scipy.org/doc/manual/ipython.html#embedding-ipython

Cheers,

f


More information about the IPython-dev mailing list