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