Ticket #32597 (closed enhancement: invalid)
py-ipython v0.12 requires py-tornado for notebook functionality
| Reported by: | michelle.lynn.gill@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | ||
| Port: | py-ipython |
Description
iPython version 0.12 adds the ability to run an ipython instance as a "notebook" in a web browser http://ipython.org/ipython-doc/rel-0.12/whatsnew/version0.12.html. This functionality requires py-tornado. Thus, py-tornado should be added as a dependency, either to the port itself or to a variant of the port.
I have verified with python 2.7 that installing py-tornado is the only change needed to allow the notebook function to work.
Change History
comment:1 in reply to: ↑ description Changed 17 months ago by michelle.lynn.gill@…
comment:3 follow-up: ↓ 4 Changed 17 months ago by stromnov@…
$ port variants py27-ipython
py27-ipython has the variants:
notebook: Support for IPython HTML notebook
* requires parallel
parallel: Support for parallel computing
pyqt4: Support for the Qt console using pyqt4
* conflicts with pyside
* requires parallel
pyside: Support for the Qt console using pyside
* conflicts with pyqt4
* requires parallel
[+]scientific: Use ScientificPython to provide physical quantities support
notebook variant depends on py-tornado and requires parallel. parallel variant requires py-zmq.
PS. notebook variant was added several months ago, but was commented out until 0.12 release.
comment:4 in reply to: ↑ 3 Changed 17 months ago by michelle.lynn.gill@…
Replying to stromnov@…:
$ port variants py27-ipython py27-ipython has the variants: notebook: Support for IPython HTML notebook * requires parallel parallel: Support for parallel computing pyqt4: Support for the Qt console using pyqt4 * conflicts with pyside * requires parallel pyside: Support for the Qt console using pyside * conflicts with pyqt4 * requires parallel [+]scientific: Use ScientificPython to provide physical quantities supportnotebook variant depends on py-tornado and requires parallel. parallel variant requires py-zmq.
PS. notebook variant was added several months ago, but was commented out until 0.12 release.
Odd that it didn't show up for me as a variant when I checked earlier and I hadn't had a chance to look at the Portfile.
Seems to be working now, however. Maybe I accidentally looked at the variants for the python 2.6 version, which I haven't updated. Apologies.
I guess this ticket can be closed.


Replying to michelle.lynn.gill@…:
It looks like py-zmq is also required. http://ipython.org/ipython-doc/rel-0.12/install/install.html#dependencies-for-the-ipython-html-notebook I didn't notice because I already had it installed via the parallel variant.