Iirc, ipy_leo is leo 'helpers' that you load from ipython (as ipython plugin), and ipython.py is a leo plugin that enables the ipython bridge. Having them be separate seems natural to me, and users only know about ipython.py.
--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To post to this group, send email to leo-e...@googlegroups.com.
To unsubscribe from this group, send email to leo-editor+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
> Iirc, ipy_leo is leo 'helpers' that you load from ipython (as ipython
> plugin), and ipython.py is a leo plugin that enables the ipython bridge.
> Having them be separate seems natural to me, and users only know about
> ipython.py.
Thanks for this. I would like users to know only about the --ipython
option. My original question was intended to discover if there was
any technical reason why the two files could not be merged. Unless
there is, my plan is to merge both into Leo's core.
To answer Viktor, I think IPython support is natural for Leo's core,
for two related reasons:
1. It seems natural to support the --ipython option at all times.
2. Given the --ipython option, forcing users *also* to enable the
ipython plugin seems clumsy.
The case could be made for as much to be moved out of the core as
possible, but that's not the direction that we have been following
recently. For example, the rst3 command is now part of Leo's core.
Any other comments?
Edward
> Hmm. Perhaps Leo will need a --legacy_ipython command-line arg.
A ridiculously bad idea ;-) The new IPython controller will determine
which version of IPython is in effect and act accordingly.
EKR
> Yes. zmq is exciting. Alas, I have not been able to build it either
> on Windows or Ubuntu.
It's available as a package in the package management system for
Ubuntu. Unfortunately tfer said zmq in windows was hard, if that's
true, then that's a pain, because it sounds like zmq might be a well
rounded wheel that it would be nice to avoid re-inventing.
Cheers -Terry
I have pyzmq working I think, or at least I was able to get ipython
notebook running on my computer last week (python 2.7). I believe I
just used `pip install pyzmq` and it was off to the races.
I was following the guide at
http://ipython.org/ipython-doc/dev/install/install.html#installnotebook
A week before that I installed pip using this recipe:
http://www.pip-installer.org/en/latest/installing.html
The whole process wasn't a push button affair, but no more difficult
than installing Leo by hand and manually setting the file assocations
and so on. I'll see if I can replicate the process at home and write
up a recipe.
--
-matt