[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 |
|
---|
[d50d567] | 14 | <sect1 id="Python" xreflabel="Python-&Python-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[19aa75a] | 19 | <?dbhtml filename="Python.html" ?>
|
---|
[d50d567] | 20 | <title>Python-&Python-version;</title>
|
---|
[f45b1953] | 21 |
|
---|
[52d29f7] | 22 | <sect2>
|
---|
| 23 | <title>Introduction to <application>Python</application></title>
|
---|
[e9ef7b5e] | 24 |
|
---|
[52d29f7] | 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>
|
---|
[e9ef7b5e] | 29 |
|
---|
[52d29f7] | 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>
|
---|
[e9ef7b5e] | 38 |
|
---|
[52d29f7] | 39 | <sect3><title>Additional downloads</title>
|
---|
| 40 | <itemizedlist spacing='compact'>
|
---|
[07b157f4] | 41 | <listitem><para>Required Patch: <ulink
|
---|
[246a52cd] | 42 | url="&patch-root;/Python-&Python-version;-gdbm-1.patch"/></para></listitem>
|
---|
[52d29f7] | 43 | </itemizedlist>
|
---|
| 44 | </sect3>
|
---|
[e9ef7b5e] | 45 |
|
---|
[52d29f7] | 46 | <sect3><title><application>Python</application> dependencies</title>
|
---|
| 47 | <sect4><title>Optional</title>
|
---|
[8617e747] | 48 | <para><xref linkend="openssl"/>, <xref linkend="tk"/>,
|
---|
[54f3179] | 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>
|
---|
[52d29f7] | 52 | </sect3>
|
---|
| 53 |
|
---|
[e9ef7b5e] | 54 | </sect2>
|
---|
[52d29f7] | 55 |
|
---|
| 56 | <sect2>
|
---|
| 57 | <title>Installation of <application>Python</application></title>
|
---|
[e9ef7b5e] | 58 |
|
---|
| 59 | <para>Install <application>Python</application> by running the following
|
---|
[99b29a4] | 60 | commands:</para>
|
---|
[e9ef7b5e] | 61 |
|
---|
[246a52cd] | 62 | <screen><userinput><command>patch -Np1 -i ../Python-&Python-version;-gdbm-1.patch &&
|
---|
[52d29f7] | 63 | ./configure --prefix=/usr --enable-shared &&
|
---|
| 64 | make &&
|
---|
| 65 | make install</command></userinput></screen>
|
---|
[e9ef7b5e] | 66 |
|
---|
[52d29f7] | 67 | </sect2>
|
---|
| 68 |
|
---|
| 69 | <sect2>
|
---|
| 70 | <title>Contents</title>
|
---|
[e9ef7b5e] | 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>
|
---|
[5b287d4] | 76 | script will also be installed.</para>
|
---|
[e9ef7b5e] | 77 |
|
---|
[52d29f7] | 78 | </sect2>
|
---|
[e9ef7b5e] | 79 |
|
---|
[52d29f7] | 80 | <sect2><title>Description</title>
|
---|
[e9ef7b5e] | 81 |
|
---|
[52d29f7] | 82 | <sect3><title>python</title>
|
---|
[e9ef7b5e] | 83 | <para><command>python</command> is an interpreted, interactive,
|
---|
[99b29a4] | 84 | object-oriented programming language.</para></sect3>
|
---|
[e9ef7b5e] | 85 |
|
---|
[52d29f7] | 86 | <sect3><title>pydoc</title>
|
---|
[e9ef7b5e] | 87 | <para><command>pydoc</command> is the <application>Python</application>
|
---|
[99b29a4] | 88 | documentation tool.</para></sect3>
|
---|
[e9ef7b5e] | 89 |
|
---|
[99b29a4] | 90 | <sect3><title>idle</title>
|
---|
[e9ef7b5e] | 91 | <para><command>idle</command> is a wrapper script that opens a
|
---|
| 92 | <application>Python</application> aware <acronym>GUI</acronym>
|
---|
[5b287d4] | 93 | editor.</para></sect3>
|
---|
[e9ef7b5e] | 94 |
|
---|
[52d29f7] | 95 | </sect2>
|
---|
[f45b1953] | 96 |
|
---|
| 97 | </sect1>
|
---|
[d50d567] | 98 |
|
---|