mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
c7602f2973
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2357 af4574ff-66df-0310-9fd7-8a98e5e911e0
96 lines
3.2 KiB
XML
96 lines
3.2 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY Python-download-http "http://www.python.org/ftp/python/&Python-version;/Python-&Python-version;.tar.bz2">
|
|
<!ENTITY Python-download-ftp "ftp://ftp.python.org/pub/python/&Python-version;/Python-&Python-version;.tar.bz2">
|
|
<!ENTITY Python-size "7.2 MB">
|
|
<!ENTITY Python-buildsize "133 MB">
|
|
<!ENTITY Python-time "1.25 SBU">
|
|
|
|
]>
|
|
|
|
<sect1 id="Python" xreflabel="Python-&Python-version;">
|
|
<?dbhtml filename="Python.html" ?>
|
|
<title>Python-&Python-version;</title>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>Python</application></title>
|
|
|
|
<para>The <application>Python</application> package contains the
|
|
<application>Python</application> development environment.
|
|
This is useful for object-oriented programming, writing scripts,
|
|
prototyping large programs or developing entire applications.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Download (HTTP): <ulink url="&Python-download-http;"/></para></listitem>
|
|
<listitem><para>Download (FTP): <ulink url="&Python-download-ftp;"/></para></listitem>
|
|
<listitem><para>Download size: &Python-size;</para></listitem>
|
|
<listitem><para>Estimated Disk space required: &Python-buildsize;</para></listitem>
|
|
<listitem><para>Estimated build time: &Python-time;</para></listitem></itemizedlist>
|
|
</sect3>
|
|
|
|
<sect3><title>Additional downloads</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Required patch (HTTP): <ulink
|
|
url="&patch-root;/Python-&Python-version;-gdbm-1.patch"/></para></listitem>
|
|
</itemizedlist>
|
|
</sect3>
|
|
|
|
<sect3><title><application>Python</application> dependencies</title>
|
|
<sect4><title>Optional</title>
|
|
<para><xref linkend="openssl"/>, <xref linkend="expat"/>, <xref linkend="tk"/>, <xref
|
|
linkend="gdbm"/>, <xref linkend="db"/>, <xref linkend="gmp"/> and
|
|
<xref linkend="readline"/>
|
|
</para></sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>Python</application></title>
|
|
|
|
<para>Install <application>Python</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput><command>patch -Np1 -i ../Python-&Python-version;-gdbm-1.patch &&
|
|
./configure --prefix=/usr --enable-shared &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<para>The <application>Python</application> package contains
|
|
<command>python</command>, <command>pydoc</command> and
|
|
<application>Python</application> libraries, modules and scripts. If
|
|
<application>Tk</application> is installed, the <command>idle</command>
|
|
script will also be installed.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
<sect3><title>python</title>
|
|
<para><command>python</command> is an interpreted, interactive,
|
|
object-oriented programming language.</para></sect3>
|
|
|
|
<sect3><title>pydoc</title>
|
|
<para><command>pydoc</command> is the <application>Python</application>
|
|
documentation tool.</para></sect3>
|
|
|
|
<sect3><title>idle</title>
|
|
<para><command>idle</command> is a wrapper script that opens a
|
|
<application>Python</application> aware <acronym>GUI</acronym>
|
|
editor.</para></sect3>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|