Author: ken Date: 2012-02-20 18:10:55 -0700 (Mon, 20 Feb 2012) New Revision: 9487
Modified: trunk/BOOK/general.ent trunk/BOOK/general/prog/python-modules.xml trunk/BOOK/gnome/add/accerciser.xml trunk/BOOK/introduction/welcome/changelog.xml Log: Add IPython. Modified: trunk/BOOK/general/prog/python-modules.xml =================================================================== --- trunk/BOOK/general/prog/python-modules.xml 2012-02-20 22:24:11 UTC (rev 9486) +++ trunk/BOOK/general/prog/python-modules.xml 2012-02-21 01:10:55 UTC (rev 9487) @@ -67,6 +67,13 @@ <!ENTITY pyxdg-buildsize "728 KB"> <!ENTITY pyxdg-time "less than 0.1 SBU"> + <!ENTITY ipython-download-http "http://archive.ipython.org/release/&ipython-version;/ipython-&ipython-version;.tar.gz"> + <!ENTITY ipython-download-ftp ""> + <!ENTITY ipython-md5sum "4cf9f23b1171b3517f9a7a2bfc875b5f"> + <!ENTITY ipython-size "8.9 MB"> + <!ENTITY ipython-buildsize "58 MB"> + <!ENTITY ipython-time "less than 0.1 SBU"> + <!-- <!ENTITY pyorbit-download-http "&gnome-download-http;/pyorbit/2.24/pyorbit-&pyorbit-version;.tar.bz2"> <!ENTITY pyorbit-download-ftp "&gnome-download-ftp;/pyorbit/2.24/pyorbit-&pyorbit-version;.tar.bz2"> @@ -138,6 +145,12 @@ <listitem> <para><xref linkend="pyatspi2"/></para> </listitem> + <listitem> + <para><xref linkend="pyxdg"/></para> + </listitem> + <listitem> + <para><xref linkend="ipython"/></para> + </listitem> <!--<listitem> <para><xref linkend="pyorbit"/></para> </listitem> @@ -1287,6 +1300,202 @@ </sect2> <!--End pyxdg --> + <!-- Begin IPython --> + <sect2 id="ipython" xreflabel="IPython-&ipython-version;"> + + <title>IPython-&ipython-version;</title> + + <indexterm zone="ipython"> + <primary sortas="a-IPython">ipython</primary> + </indexterm> + + <sect3 role="package"> + <title>Introduction to IPython Module</title> + + <para><application>IPython</application> provides a rich toolkit to help you + make the most out of using Python interactively.</para> + + <bridgehead renderas="sect4">Package Information</bridgehead> + <itemizedlist spacing="compact"> + <listitem> + <para>Download (HTTP): <ulink url="&ipython-download-http;"/></para> + </listitem> + <listitem> + <para>Download (FTP): <ulink url="&ipython-download-ftp;"/></para> + </listitem> + <listitem> + <para>Download MD5 sum: &ipython-md5sum;</para> + </listitem> + <listitem> + <para>Download size: &ipython-size;</para> + </listitem> + <listitem> + <para>Estimated disk space required: &ipython-buildsize;</para> + </listitem> + <listitem> + <para>Estimated build time: &ipython-time;</para> + </listitem> + </itemizedlist> + + <bridgehead renderas="sect4">IPython Dependencies</bridgehead> + + <bridgehead renderas="sect5">Required</bridgehead> + <para role="required"><xref linkend="python2"/> + ( or <xref linkend="python3"/> : not tested), and + <xref linkend="sqlite"/></para> + + <bridgehead renderas="sect5">optional</bridgehead> + <para role="optional"> + <ulink url="http://sphinx.pocoo.org">sphinx</ulink> (for building docs), + <ulink url="http://pygments.org">pygments</ulink> (for syntax higlighting + documentation), + <ulink url="http://pypi.python.org/pypi/nose">nose</ulink> (to build the test + program), + <ulink url="http://www.noah.org/python/pexpect">pexpect</ulink> (for + standalone doctests), and + <ulink url="http://pypi.python.org/pypi/pyzmq">sphinx</ulink> (for qtconsole, + notebook, parallel computing)</para> + + <para condition="html" role="usernotes">User Notes: + <ulink url="&blfs-wiki;/ipython"/></para> + + </sect3> + + <sect3 role="installation"> + <title>Installation of IPython</title> + + <para>Install <application>ipython</application> by running the following + commands:</para> + + <para>As the <systemitem class="username">root</systemitem> user:</para> + +<screen role="root"><userinput>python setup.py install</userinput></screen> + + <para>If you built this against <application>nose</application>, you can + run the testsuite after the package has been installed by entering: + <command>iptest</command>. The tests test_startup_{,i}py (and perhaps others + if you provided the optional dependencies) will fail.</para> + </sect3> + + <sect3 role="commands"> + <title>Command Explanations</title> + + <para><command>python setup.py install</command>: This command installs + the package.</para> + + </sect3> + + <sect3 role="content"> + <title>Contents</title> + + <segmentedlist> + <segtitle>Installed Programs</segtitle> + <segtitle>Installed Libraries</segtitle> + <segtitle>Installed Directories</segtitle> + + <seglistitem> + <seg>ipcluster, ipcontroller, ipengine, iplogger, iptest (if nose was + installed), ipython, irunner, pycolor and a host of python scripts</seg> + <seg>none</seg> + <seg>/usr/lib/python&python2-majorver;/site-packages/IPython, + /usr/share/doc/IPython</seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="ipcluster"> + <term><command>ipcluster</command></term> + <listitem> + <para>IPython parallel computing cluster control tool</para> + <indexterm zone="ipython ipcluster"> + <primary sortas="b-ipcluster">ipcluster</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="ipcontroller"> + <term><command>ipcontroller</command></term> + <listitem> + <!-- this is what the manpage says! --> + <para>IPython parallel computing controller control tool</para> + <indexterm zone="ipython ipcontroller"> + <primary sortas="b-ipcontroller">ipcontroller</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="ipengine"> + <term><command>ipengine</command></term> + <listitem> + <para>IPython parallel computing engine control tool</para> + <indexterm zone="ipython ipengine"> + <primary sortas="b-ipengine">ipengine</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="iplogger"> + <term><command>iplogger</command></term> + <listitem> + <para>IPython logger fpr parallel computing</para> + <indexterm zone="ipython iplogger"> + <primary sortas="b-iplogger">iplogger</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="iptest"> + <term><command>iptest</command></term> + <listitem> + <para>runs the IPython testsuite</para> + <indexterm zone="ipython iptest"> + <primary sortas="b-iptest">iptest</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="ipython-prog"> + <term><command>ipython</command></term> + <listitem> + <!-- again, description from the manpage --> + <para>Tools for Interactive Computing in Python</para> + <indexterm zone="ipython ipython"> + <primary sortas="b-ipython">ipython</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="irunner"> + <term><command>irunner</command></term> + <listitem> + <para>is an interface to IPython's runner module</para> + <indexterm zone="ipython irunner"> + <primary sortas="b-irunner">irunner</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="pycolor"> + <term><command>pycolor</command></term> + <listitem> + <para>Colorize a python file or stdin using ANSI and print to stdout</para> + <indexterm zone="ipython pycolor"> + <primary sortas="b-pycolor">pycolor</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + + </sect3> + + </sect2> + <!-- End IPython --> + <!-- <!\-\- Begin PyORBit \-\-> <sect2 id="pyorbit" xreflabel="PyORBit-&pyorbit-version;"> Modified: trunk/BOOK/general.ent =================================================================== --- trunk/BOOK/general.ent 2012-02-20 22:24:11 UTC (rev 9486) +++ trunk/BOOK/general.ent 2012-02-21 01:10:55 UTC (rev 9487) @@ -450,6 +450,7 @@ <!ENTITY pygtksourceview-version "2.10.1"> <!ENTITY pyatspi2-version "2.2.1"> <!ENTITY pyxdg-version "0.19"> +<!ENTITY ipython-version "0.12"> <!--- Obsolete <!ENTITY pyorbit-version "2.24.0"> <!ENTITY gnome-python-version "2.28.1"> Modified: trunk/BOOK/gnome/add/accerciser.xml =================================================================== --- trunk/BOOK/gnome/add/accerciser.xml 2012-02-20 22:24:11 UTC (rev 9486) +++ trunk/BOOK/gnome/add/accerciser.xml 2012-02-21 01:10:55 UTC (rev 9487) @@ -68,9 +68,7 @@ <bridgehead renderas="sect4">Additional Runtime Dependencies</bridgehead> <para role="required"><xref linkend="at-spi2-atk"/>, - <!-- FIXME: ken : should be included in the book --> - <ulink url="http://ipython.org">IPython</ulink>, and - <!--<xref linkend="?????"/></para>--> + <xref linkend="ipython"/>, <xref linkend="pyatspi2"/></para> <para condition="html" role="usernotes">User Notes: Modified: trunk/BOOK/introduction/welcome/changelog.xml =================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml 2012-02-20 22:24:11 UTC (rev 9486) +++ trunk/BOOK/introduction/welcome/changelog.xml 2012-02-21 01:10:55 UTC (rev 9487) @@ -50,6 +50,9 @@ <listitem> <para>[ken] - add accerciser-3.2.1 from Wayne.</para> </listitem> + <listitem> + <para>[ken] - add IPython-0.12 (a Python module).</para> + </listitem> </itemizedlist> </listitem> -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
