1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
9 | <!ENTITY Python-size "7.2 MB">
|
---|
10 | <!ENTITY Python-buildsize "133 MB">
|
---|
11 | <!ENTITY Python-time "1.25 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="Python" xreflabel="Python-&Python-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="Python.html" ?>
|
---|
20 | <title>Python-&Python-version;</title>
|
---|
21 |
|
---|
22 | <sect2>
|
---|
23 | <title>Introduction to <application>Python</application></title>
|
---|
24 |
|
---|
25 | <para>The <application>Python</application> package contains the
|
---|
26 | <application>Python</application> development environment.
|
---|
27 | This is useful for object-oriented programming, writing scripts,
|
---|
28 | prototyping large programs or developing entire applications.</para>
|
---|
29 |
|
---|
30 | <sect3><title>Package information</title>
|
---|
31 | <itemizedlist spacing='compact'>
|
---|
32 | <listitem><para>Download (HTTP): <ulink url="&Python-download-http;"/></para></listitem>
|
---|
33 | <listitem><para>Download (FTP): <ulink url="&Python-download-ftp;"/></para></listitem>
|
---|
34 | <listitem><para>Download size: &Python-size;</para></listitem>
|
---|
35 | <listitem><para>Estimated Disk space required: &Python-buildsize;</para></listitem>
|
---|
36 | <listitem><para>Estimated build time: &Python-time;</para></listitem></itemizedlist>
|
---|
37 | </sect3>
|
---|
38 |
|
---|
39 | <sect3><title>Additional downloads</title>
|
---|
40 | <itemizedlist spacing='compact'>
|
---|
41 | <listitem><para>Required Patch: <ulink
|
---|
42 | url="&patch-root;/Python-&Python-version;-gdbm-1.patch"/></para></listitem>
|
---|
43 | </itemizedlist>
|
---|
44 | </sect3>
|
---|
45 |
|
---|
46 | <sect3><title><application>Python</application> dependencies</title>
|
---|
47 | <sect4><title>Optional</title>
|
---|
48 | <para><xref linkend="openssl"/>, <xref linkend="tk"/>,
|
---|
49 | <xref linkend="gdbm"/>, <xref linkend="db"/>, <xref linkend="gmp"/> and
|
---|
50 | <ulink url="http://www.gnu.org/software/pth/">Pth</ulink></para>
|
---|
51 | </sect4>
|
---|
52 | </sect3>
|
---|
53 |
|
---|
54 | </sect2>
|
---|
55 |
|
---|
56 | <sect2>
|
---|
57 | <title>Installation of <application>Python</application></title>
|
---|
58 |
|
---|
59 | <para>Install <application>Python</application> by running the following
|
---|
60 | commands:</para>
|
---|
61 |
|
---|
62 | <screen><userinput><command>patch -Np1 -i ../Python-&Python-version;-gdbm-1.patch &&
|
---|
63 | ./configure --prefix=/usr --enable-shared &&
|
---|
64 | make &&
|
---|
65 | make install</command></userinput></screen>
|
---|
66 |
|
---|
67 | </sect2>
|
---|
68 |
|
---|
69 | <sect2>
|
---|
70 | <title>Contents</title>
|
---|
71 |
|
---|
72 | <para>The <application>Python</application> package contains
|
---|
73 | <command>python</command>, <command>pydoc</command> and
|
---|
74 | <application>Python</application> libraries, modules and scripts. If
|
---|
75 | <application>Tk</application> is installed, the <command>idle</command>
|
---|
76 | script will also be installed.</para>
|
---|
77 |
|
---|
78 | </sect2>
|
---|
79 |
|
---|
80 | <sect2><title>Description</title>
|
---|
81 |
|
---|
82 | <sect3><title>python</title>
|
---|
83 | <para><command>python</command> is an interpreted, interactive,
|
---|
84 | object-oriented programming language.</para></sect3>
|
---|
85 |
|
---|
86 | <sect3><title>pydoc</title>
|
---|
87 | <para><command>pydoc</command> is the <application>Python</application>
|
---|
88 | documentation tool.</para></sect3>
|
---|
89 |
|
---|
90 | <sect3><title>idle</title>
|
---|
91 | <para><command>idle</command> is a wrapper script that opens a
|
---|
92 | <application>Python</application> aware <acronym>GUI</acronym>
|
---|
93 | editor.</para></sect3>
|
---|
94 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | </sect1>
|
---|
98 |
|
---|