glfs/general/prog/python-modules/cssselect.xml
Bruce Dubbs db244ae299 Replace 'pip3 wheel' and 'pip3 install' text with ENTITIES
Currently only python-modules are complete.  The python-dependencies
page will be done in another commit.
2023-09-10 18:13:10 -05:00

125 lines
3.4 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../../general.ent">
%general-entities;
<!ENTITY cssselect-download-http "https://files.pythonhosted.org/packages/source/c/cssselect/cssselect-&cssselect-version;.tar.gz">
<!ENTITY cssselect-download-ftp " ">
<!ENTITY cssselect-md5sum "&cssselect-md5sum;">
<!ENTITY cssselect-size "1.2 MB">
<!ENTITY cssselect-buildsize "512 KB (add 488 KB for tests)">
<!ENTITY cssselect-time "less than 0.1 SBU">
]>
<sect2 id="cssselect" xreflabel="cssselect-&cssselect-version;">
<title>CSSSelect-&cssselect-version;</title>
<indexterm zone="cssselect">
<primary sortas="a-cssselect">cssselect</primary>
</indexterm>
<sect3 role="package">
<title>Introduction to CSSSelect Module</title>
<para>
<application>CSSSelect</application> provides CSS selectors
for Python.
</para>
&lfs120_checked;
<bridgehead renderas="sect4">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&cssselect-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&cssselect-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &cssselect-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &cssselect-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &cssselect-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &cssselect-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect4">CSSSelect Dependencies</bridgehead>
<bridgehead renderas="sect5">Required</bridgehead>
<para role="required">
<xref linkend="setuptools_scm"/>
</para>
<bridgehead renderas="sect5">Optional (for testing)</bridgehead>
<para role="optional">
<xref linkend="lxml"/>,
<xref linkend="pluggy"/>, and
<xref linkend="pytest"/>
</para>
</sect3>
<sect3 role="installation">
<title>Installation of CSSSelect</title>
<para> Build the module: </para>
&build-wheel;
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>&install-wheel; cssselect</userinput></screen>
<para>
To test the installation issue <command>pytest</command>.
</para>
</sect3>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../../xincludes/pip3-cmd-explain.xml"/>
<sect3 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>None</seg>
<seg>None</seg>
<seg>
/usr/lib/python&python3-majorver;/site-packages/cssselect
</seg>
</seglistitem>
</segmentedlist>
</sect3>
</sect2>