[blfs-book] r9488 - trunk/BOOK/general/prog

ken at linuxfromscratch.org ken at linuxfromscratch.org
Tue Feb 21 03:01:45 PST 2012


Author: ken
Date: 2012-02-21 04:01:36 -0700 (Tue, 21 Feb 2012)
New Revision: 9488

Modified:
   trunk/BOOK/general/prog/python-modules.xml
Log:
I forgot that IPython needs a prefix for the programs, unlike other setup.py packages.

Modified: trunk/BOOK/general/prog/python-modules.xml
===================================================================
--- trunk/BOOK/general/prog/python-modules.xml	2012-02-21 01:10:55 UTC (rev 9487)
+++ trunk/BOOK/general/prog/python-modules.xml	2012-02-21 11:01:36 UTC (rev 9488)
@@ -1369,19 +1369,22 @@
 
       <para>As the <systemitem class="username">root</systemitem> user:</para>
 
-<screen role="root"><userinput>python setup.py install</userinput></screen>
+<screen role="root"><userinput>python setup.py install --prefix=/usr</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>
+      <para><command>python setup.py install --prefix=/usr</command>: This command
+      installs the package. The prefix ensures that the programs are located in
+      <filename class="directory">/usr/bin</filename> instead of
+      <filename class="directory">/usr/local/bin</filename>.</para>
 
     </sect3>
 




More information about the blfs-book mailing list