source: general/prog/python-modules/cssselect.xml@ d1e1cbd

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since d1e1cbd was d1e1cbd, checked in by Douglas R. Reno <renodr@…>, 12 months ago

cssselect: needs lxml for test suite

  • Property mode set to 100644
File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../../general.ent">
5 %general-entities;
6
7 <!ENTITY cssselect-download-http "https://files.pythonhosted.org/packages/source/c/cssselect/cssselect-&cssselect-version;.tar.gz">
8 <!ENTITY cssselect-download-ftp " ">
9 <!ENTITY cssselect-md5sum "&cssselect-md5sum;">
10 <!ENTITY cssselect-size "1.2 MB">
11 <!ENTITY cssselect-buildsize "512 KB (add 488 KB for tests)">
12 <!ENTITY cssselect-time "less than 0.1 SBU">
13]>
14
15 <sect2 id="cssselect" xreflabel="cssselect-&cssselect-version;">
16
17 <title>CSSSelect-&cssselect-version;</title>
18
19 <indexterm zone="cssselect">
20 <primary sortas="a-cssselect">cssselect</primary>
21 </indexterm>
22
23 <sect3 role="package">
24 <title>Introduction to CSSSelect Module</title>
25
26 <para>
27 <application>CSSSelect</application> provides CSS selectors
28 for Python.
29 </para>
30
31 &lfs113_checked;
32
33 <bridgehead renderas="sect4">Package Information</bridgehead>
34 <itemizedlist spacing="compact">
35 <listitem>
36 <para>
37 Download (HTTP): <ulink url="&cssselect-download-http;"/>
38 </para>
39 </listitem>
40 <listitem>
41 <para>
42 Download (FTP): <ulink url="&cssselect-download-ftp;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download MD5 sum: &cssselect-md5sum;
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download size: &cssselect-size;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Estimated disk space required: &cssselect-buildsize;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated build time: &cssselect-time;
63 </para>
64 </listitem>
65 </itemizedlist>
66
67 <bridgehead renderas="sect4">CSSSelect Dependencies</bridgehead>
68
69 <bridgehead renderas="sect5">Required</bridgehead>
70 <para role="required">
71 <xref linkend="setuptools_scm"/>
72 </para>
73
74 <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
75 <para role="optional">
76 <xref linkend="lxml"/>,
77 <xref linkend="pluggy"/>, and
78 <xref linkend="pytest"/>
79 </para>
80
81 </sect3>
82
83 <sect3 role="installation">
84 <title>Installation of CSSSelect</title>
85
86 <para> Build the module: </para>
87
88<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
89
90 <para>
91 Now, as the <systemitem class="username">root</systemitem> user:
92 </para>
93
94<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user cssselect</userinput></screen>
95
96 <para>
97 To test the installation issue <command>pytest</command>.
98 </para>
99
100 </sect3>
101
102 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
103 href="../../../xincludes/pip3-cmd-explain.xml"/>
104
105 <sect3 role="content">
106 <title>Contents</title>
107
108 <segmentedlist>
109 <segtitle>Installed Programs</segtitle>
110 <segtitle>Installed Libraries</segtitle>
111 <segtitle>Installed Directories</segtitle>
112
113 <seglistitem>
114 <seg>None</seg>
115 <seg>None</seg>
116 <seg>
117 /usr/lib/python&python3-majorver;/site-packages/cssselect
118 </seg>
119 </seglistitem>
120 </segmentedlist>
121
122 </sect3>
123
124 </sect2>
Note: See TracBrowser for help on using the repository browser.