Changeset 1970f00 for general/prog/python.xml
- Timestamp:
- 03/17/2008 06:11:35 PM (17 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 3b03fd44
- Parents:
- 857d5ca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/python.xml
r857d5ca r1970f00 7 7 <!ENTITY python-download-http "http://www.python.org/ftp/python/&Python-version;/Python-&Python-version;.tar.bz2"> 8 8 <!ENTITY python-download-ftp "&gentoo-ftp-repo;/Python-&Python-version;.tar.bz2"> 9 <!ENTITY python-md5sum " 70084ffa561660f07de466c2c8c4842d">10 <!ENTITY python-size "9. 3MB">11 <!ENTITY python-buildsize "1 52MB">12 <!ENTITY python-time "1. 0 SBU (additional 2.6SBU to run the test suite)">9 <!ENTITY python-md5sum "afb5451049eda91fbde10bd5a4b7fadc"> 10 <!ENTITY python-size "9.8 MB"> 11 <!ENTITY python-buildsize "180 MB"> 12 <!ENTITY python-time "1.1 SBU (additional 2.7 SBU to run the test suite)"> 13 13 ]> 14 14 … … 58 58 59 59 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 60 61 <bridgehead renderas="sect4">Required Patch</bridgehead> 60 62 <itemizedlist spacing='compact'> 61 63 <listitem> 62 <para> Required patch:<ulink64 <para><ulink 63 65 url="&patch-root;/Python-&Python-version;-gdbm-1.patch"/></para> 64 66 </listitem> 65 67 </itemizedlist> 66 68 69 <bridgehead renderas="sect4">Optional HTML Documentation</bridgehead> 70 <itemizedlist spacing='compact'> 71 <listitem> 72 <para><ulink 73 url="http://docs.python.org/ftp/python/doc/&python-majorver;/html-&python-majorver;.tar.bz2"/></para> 74 </listitem> 75 </itemizedlist> 76 67 77 <bridgehead renderas="sect3">Python Dependencies</bridgehead> 68 78 69 79 <bridgehead renderas="sect4">Optional</bridgehead> 80 <para role="optional"><xref linkend="pth"/></para> 81 82 <bridgehead renderas="sect4">Optional 83 (to create package-specific support modules)</bridgehead> 70 84 <para role="optional"><xref linkend="openssl"/>, 71 <xref linkend="tk"/>, and 72 <xref linkend="gdbm"/></para> 85 <xref linkend="tk"/>, 86 <xref linkend="gdbm"/>, and 87 <ulink url="http://sqlite.org/">SQLite 3</ulink></para> 73 88 <!-- <xref linkend="db"/> --> 74 89 … … 88 103 make</userinput></screen> 89 104 90 <para>To test the results, issue: <command>make test</command>.</para> 105 <para>To test the results, issue: <command>make test</command>. Note that 106 if you have an existing <application>Python</application> installation 107 which includes the <application>PyXML</application> module, the tests could 108 produce a segmentation fault.</para> 91 109 92 110 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> … … 94 112 <screen role="root"><userinput>make install</userinput></screen> 95 113 96 <note> 97 <para>There is no documentation installed using the instructions above. 98 However, There are LaTeX sources included with the distribution. See the 99 <filename>Doc/README</filename> file in the source distribution for 100 instructions to format the LaTeX sources. Alternatively, you can download 101 preformatted documentation from 102 <ulink url="http://docs.python.org/download.html"/>.</para> 103 </note> 114 <para>There is no documentation installed using the instructions above. 115 However, There are LaTeX sources included with the distribution. See the 116 <filename>Doc/README</filename> file in the source distribution for 117 instructions to format the LaTeX sources. Alternatively, you can download 118 preformatted documentation from 119 <ulink url="http://docs.python.org/download.html"/>.</para> 120 121 <para>In order to use the <command>help ('module_name')</command> feature 122 of the <command>python</command> interpreter, you must download (or create) 123 the optional HTML documentation and install it. If you downloaded the HTML 124 docs, issue the following commands as the 125 <systemitem class="username">root</systemitem> user:</para> 126 127 <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/Python-&Python-version;/html && 128 tar --strip-components=1 \ 129 -C /usr/share/doc/Python-&Python-version;/html \ 130 -xvf ../html-${MAJOR_VER}.tar.bz2</userinput></screen> 131 132 <para>In order for <command>python</command> to find the installed 133 documentation, you must add the following environment variable to 134 individual user's or the system's profile:</para> 135 136 <screen role="root"><userinput>export PYTHONDOCS=/usr/share/doc/Python-&Python-version;/html</userinput></screen> 104 137 105 138 </sect2> … … 114 147 115 148 <seglistitem> 116 <seg>pydoc, python, python&python- libdir;, smtpd.py, and optionally if149 <seg>pydoc, python, python&python-majorver;, smtpd.py, and optionally if 117 150 <application>Tk</application> is installed, idle</seg> 118 <seg>libpython&python-libdir;.so and numerous modules installed in 119 /usr/lib/python&python-libdir;/lib-dynload</seg> 120 <seg>/usr/include/python&python-libdir;, 121 and /usr/lib/python&python-libdir;</seg> 151 <seg>libpython&python-majorver;.so and numerous modules installed in 152 /usr/lib/python&python-majorver;/lib-dynload</seg> 153 <seg>/usr/include/python&python-majorver;, 154 /usr/lib/python&python-majorver;, and 155 /usr/share/doc/python-2.5.2</seg> 122 156 </seglistitem> 123 157 </segmentedlist> … … 162 196 163 197 <varlistentry id="python-ver"> 164 <term><command>python&python- libdir;</command></term>198 <term><command>python&python-majorver;</command></term> 165 199 <listitem> 166 200 <para>is a version-specific name for the <command>python</command> 167 201 program.</para> 168 202 <indexterm zone="python python-ver"> 169 <primary sortas="b-python&python- libdir;">python&python-libdir;</primary>203 <primary sortas="b-python&python-majorver;">python&python-majorver;</primary> 170 204 </indexterm> 171 205 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.