source: general/prog/python.xml@ 9ee1058

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 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 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9ee1058 was ae9a133, checked in by Igor Živković <igor@…>, 19 years ago

Added a test suite note to Python.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3745 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.2 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[6822b09]7<!ENTITY python-download-http "http://www.python.org/ftp/python/&Python-version;/Python-&Python-version;.tar.bz2">
8<!ENTITY python-download-ftp "ftp://ftp.python.org/pub/python/&Python-version;/Python-&Python-version;.tar.bz2">
[9ba1dd2]9<!ENTITY python-md5sum "de3e9a8836fab6df7c7ce545331afeb3">
[9824250]10<!ENTITY python-size "7.8 MB">
[9ba1dd2]11<!ENTITY python-buildsize "115 MB">
12<!ENTITY python-time "0.91 SBU (additional 2.20 SBU to run the testsuite)">
[52d29f7]13]>
14
[3fe8b511]15<sect1 id="python" xreflabel="Python-&Python-version;">
[a0f03b0]16<sect1info>
[5cd0959d]17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
[a0f03b0]19</sect1info>
[19aa75a]20<?dbhtml filename="Python.html" ?>
[3fe8b511]21<title>Python-&Python-version;</title>
[9824250]22<indexterm zone="python">
23<primary sortas="a-Python">Python</primary></indexterm>
[f45b1953]24
[52d29f7]25<sect2>
26<title>Introduction to <application>Python</application></title>
[e9ef7b5e]27
[52d29f7]28<para>The <application>Python</application> package contains the
29<application>Python</application> development environment.
30This is useful for object-oriented programming, writing scripts,
31prototyping large programs or developing entire applications.</para>
[e9ef7b5e]32
[52d29f7]33<sect3><title>Package information</title>
34<itemizedlist spacing='compact'>
[9824250]35<listitem><para>Download (HTTP):
36<ulink url="&python-download-http;"/></para></listitem>
37<listitem><para>Download (FTP):
38<ulink url="&python-download-ftp;"/></para></listitem>
39<listitem><para>Download MD5 sum: &python-md5sum;</para></listitem>
[775c349a]40<listitem><para>Download size: &python-size;</para></listitem>
[9824250]41<listitem><para>Estimated disk space required:
42&python-buildsize;</para></listitem>
43<listitem><para>Estimated build time:
44&python-time;</para></listitem></itemizedlist>
[52d29f7]45</sect3>
[e9ef7b5e]46
[52d29f7]47<sect3><title>Additional downloads</title>
48<itemizedlist spacing='compact'>
[e204421d]49<listitem><para>Required patch: <ulink
[3fe8b511]50url="&patch-root;/Python-&Python-version;-gdbm-1.patch"/></para></listitem>
[52d29f7]51</itemizedlist>
52</sect3>
[e9ef7b5e]53
[52d29f7]54<sect3><title><application>Python</application> dependencies</title>
55<sect4><title>Optional</title>
[cef3a2f]56<para><xref linkend="openssl"/>,
[775c349a]57<xref linkend="tk"/>,
58<xref linkend="gdbm"/> and
59<xref linkend="db"/></para>
[54f3179]60</sect4>
[52d29f7]61</sect3>
62
[e9ef7b5e]63</sect2>
[52d29f7]64
65<sect2>
66<title>Installation of <application>Python</application></title>
[e9ef7b5e]67
68<para>Install <application>Python</application> by running the following
[99b29a4]69commands:</para>
[e9ef7b5e]70
[9ba1dd2]71<screen><userinput><command>patch -Np1 -i ../Python-&Python-version;-gdbm-1.patch &amp;&amp;
[52d29f7]72./configure --prefix=/usr --enable-shared &amp;&amp;
[9824250]73make</command></userinput></screen>
[e9ef7b5e]74
[ae9a133]75<para>To test the results, issue: <command>make test</command>.</para>
76
[9824250]77<para>Now, as the root user:</para>
[52d29f7]78
[9824250]79<screen><userinput role='root'><command>make install</command></userinput></screen>
[e9ef7b5e]80
[9ba1dd2]81<note><para>There is no documentation installed using the instructions above.
82However, There are Latex sources included with the distribution. See the
83<filename>Doc/README</filename> file in the source distribution for
84instructions to format the LaTex sources. Alternatively, you can download
85preformatted documentation from
86<ulink url="http://www.python.org/doc/current/download.html"/>.</para></note>
87
[52d29f7]88</sect2>
[e9ef7b5e]89
[9824250]90<sect2>
91<title>Contents</title>
[775c349a]92
[9824250]93<segmentedlist>
94<segtitle>Installed Programs</segtitle>
95<segtitle>Installed Libraries</segtitle>
96<segtitle>Installed Directories</segtitle>
97
98<seglistitem>
[9ba1dd2]99<seg>pydoc, python, python2.4, smtpd.py and optionally if
100<application>Tk</application> is installed, idle</seg>
101<seg>libpython2.4.so and numerous modules installed in
102/usr/lib/python2.4/lib-dynload</seg>
103<seg>/usr/include/python2.4 and /usr/lib/python2.4</seg>
[9824250]104</seglistitem>
105</segmentedlist>
106
107<variablelist>
108<bridgehead renderas="sect3">Short Descriptions</bridgehead>
109<?dbfo list-presentation="list"?>
110
111<varlistentry id="idle">
112<term><command>idle</command></term>
113<listitem><para>is a wrapper script that opens a
114<application>Python</application> aware <acronym>GUI</acronym> editor.</para>
115<indexterm zone="python idle">
116<primary sortas="b-idle">idle</primary>
117</indexterm></listitem>
118</varlistentry>
119
120<varlistentry id="pydoc">
121<term><command>pydoc</command></term>
122<listitem><para>is the <application>Python</application> documentation
123tool.</para>
124<indexterm zone="python pydoc">
125<primary sortas="b-pydoc">pydoc</primary>
126</indexterm></listitem>
127</varlistentry>
128
129<varlistentry id="python-prog">
130<term><command>python</command></term>
131<listitem><para>is an interpreted, interactive, object-oriented programming
132language.</para>
133<indexterm zone="python python-prog">
134<primary sortas="b-python">python</primary>
135</indexterm></listitem>
136</varlistentry>
137
[9ba1dd2]138<varlistentry id="python2.4">
139<term><command>python2.4</command></term>
140<listitem><para>is a version-specific name for the <command>python</command>
141program.</para>
142<indexterm zone="python python2.4">
143<primary sortas="b-python2.4">python2.4</primary>
144</indexterm></listitem>
145</varlistentry>
146
[9824250]147<varlistentry id="smtpd.py">
148<term><command>smtpd.py</command></term>
149<listitem><para>is an <acronym>SMTP</acronym> proxy implemented in
150<application>Python</application>.</para>
151<indexterm zone="python smtpd.py">
152<primary sortas="b-smtpd.py">smtpd.py</primary>
153</indexterm></listitem>
154</varlistentry>
155</variablelist>
[e9ef7b5e]156
[52d29f7]157</sect2>
[f45b1953]158
159</sect1>
Note: See TracBrowser for help on using the repository browser.