source: general/prog/pyxml.xml@ 7654384

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 7654384 was 7654384, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed unnecessary text from the PyXML instructions

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

  • Property mode set to 100644
File size: 5.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY pyxml-download-http "http://prdownloads.sourceforge.net/pyxml/PyXML-&pyxml-version;.tar.gz">
8 <!ENTITY pyxml-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/PyXML-&pyxml-version;.tar.gz">
9 <!ENTITY pyxml-md5sum "1f7655050cebbb664db976405fdba209">
10 <!ENTITY pyxml-size "734 KB">
11 <!ENTITY pyxml-buildsize "14.6 MB">
12 <!ENTITY pyxml-time "less than 0.1 SBU">
13]>
14
15<sect1 id="pyxml" xreflabel="PyXML-&pyxml-version;">
16 <?dbhtml filename="pyxml.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 <keywordset>
22 <keyword role="package">PyXML-&pyxml-version;.tar</keyword>
23 <keyword role="ftpdir">PyXML</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>PyXML-&pyxml-version;</title>
28
29 <indexterm zone="pyxml">
30 <primary sortas="a-PyXML">PyXML</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to PyXML</title>
35
36 <para>The <application>PyXML</application> package contains a validating
37 XML parser, an implementation of the SAX and DOM programming interfaces,
38 an interface to the Expat parser, and a C helper module that can speed up
39 <filename>xmllib.py</filename> by a factor of five. This is useful for
40 validating, parsing and manipulating XML files using Python
41 programs.</para>
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>Download (HTTP): <ulink url="&pyxml-download-http;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download (FTP): <ulink url="&pyxml-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &pyxml-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &pyxml-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &pyxml-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &pyxml-time;</para>
62 </listitem>
63 </itemizedlist>
64
65 <bridgehead renderas="sect3">PyXML Dependencies</bridgehead>
66
67 <bridgehead renderas="sect4">Required</bridgehead>
68 <para role="required"><xref linkend="python"/></para>
69
70 <para condition="html" role="usernotes">User Notes:
71 <ulink url="&blfs-wiki;/pyxml"/></para>
72
73 </sect2>
74
75 <sect2 role="installation">
76 <title>Installation of PyXML</title>
77
78 <para>Install <application>PyXML</application> by running the following
79 commands:</para>
80
81<screen><userinput>python setup.py build</userinput></screen>
82
83 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
84
85<screen role="root"><userinput>python setup.py install &amp;&amp;
86install -v -m644 doc/man/xmlproc_*.1 /usr/share/man/man1 &amp;&amp;
87install -v -m755 -d /usr/share/doc/PyXML-&pyxml-version; &amp;&amp;
88cp -v -R doc demo test /usr/share/doc/PyXML-&pyxml-version; &amp;&amp;
89install -v -m644 README* /usr/share/doc/PyXML-&pyxml-version;</userinput></screen>
90
91 <para>To run the regression tests, the package must first be installed.
92 Then, as an unprivileged user, issue the following commands:</para>
93
94<screen><userinput>cd test &amp;&amp;
95python regrtest.py &amp;&amp;
96cd ..</userinput></screen>
97
98 </sect2>
99
100 <sect2 role="commands">
101 <title>Command Explanations</title>
102
103 <para><command>python setup.py build</command>: This command copies the
104 <filename>*.py</filename> files to a staging area and compiles the C
105 extensions.</para>
106
107 <para><command>python setup.py install</command>: This command installs
108 the package.</para>
109
110 </sect2>
111
112 <sect2 role="content">
113 <title>Contents</title>
114
115 <segmentedlist>
116 <segtitle>Installed Programs</segtitle>
117 <segtitle>Installed Libraries</segtitle>
118 <segtitle>Installed Directories</segtitle>
119
120 <seglistitem>
121 <seg>xmlproc_parse and xmlproc_val</seg>
122 <seg>PyXML Python library modules</seg>
123 <seg>/usr/lib/python2.4/site-packages/_xmlplus and
124 /usr/share/doc/PyXML-&pyxml-version;</seg>
125 </seglistitem>
126 </segmentedlist>
127
128 <variablelist>
129 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
130 <?dbfo list-presentation="list"?>
131 <?dbhtml list-presentation="table"?>
132
133 <varlistentry id="xmlproc_parse">
134 <term><command>xmlproc_parse</command></term>
135 <listitem>
136 <para>is a simple XML file parser using the xmlproc parser.</para>
137 <indexterm zone="pyxml xmlproc_parse">
138 <primary sortas="b-xmlproc_parse">xmlproc_parse</primary>
139 </indexterm>
140 </listitem>
141 </varlistentry>
142
143 <varlistentry id="xmlproc_val">
144 <term><command>xmlproc_val</command></term>
145 <listitem>
146 <para>is a validating XML file parser using the xmlproc parser.</para>
147 <indexterm zone="pyxml xmlproc_val">
148 <primary sortas="b-xmlproc_val">xmlproc_val</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152 </variablelist>
153
154 </sect2>
155
156</sect1>
Note: See TracBrowser for help on using the repository browser.