source: general/prog/python-dependencies/py.xml@ 569925c7

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 569925c7 was 569925c7, checked in by Bruce Dubbs <bdubbs@…>, 15 months ago

Update python modules for pythonhosted

Move the pythonhoted page to python_modules even though it is not
yet activated to render in the book.

Change location of pythonhosted md5sum ENTITIES to packages.ent
so they can be used in multiple pages but only need to be updated
in one place.

Note that pages not have entries like:

<!ENTITY asciidoc-md5sum "&asciidoc-md5sum;">

so this seems to be redefinig the entity to the version
in packages.ent. This seems to be OK with the build system.

  • Property mode set to 100644
File size: 3.4 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 py-download-http "https://files.pythonhosted.org/packages/source/p/py/py-&py-version;.tar.gz">
8 <!ENTITY py-download-ftp " ">
9 <!ENTITY py-md5sum "&py-md5sum;">
10 <!ENTITY py-size "203 KB">
11 <!ENTITY py-buildsize "2.8 MB">
12 <!ENTITY py-time "less than 0.1 SBU">
13]>
14
15 <sect2 id="py" xreflabel="py-&py-version;">
16
17 <title>Py-&py-version;</title>
18
19 <indexterm zone="py">
20 <primary sortas="a-py">py</primary>
21 </indexterm>
22
23 <sect3 role="package">
24 <title>Introduction to Py Module</title>
25
26 <para>
27 The <application>Py</application> library is a Python development
28 support library used in <application>Pytest</application>. It is
29 deprecated and should be removed at some point in time, but part of
30 it is still used in <application>Pytest</application>.
31 </para>
32
33 &lfs112_checked;
34
35 <bridgehead renderas="sect4">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&py-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&py-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &py-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &py-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &py-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &py-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect4">Py Dependencies</bridgehead>
70
71 <bridgehead renderas="sect5">Recommended</bridgehead>
72 <para role="recommended">
73 <xref linkend="setuptools_scm"/>
74 </para>
75
76
77 </sect3>
78
79 <sect3 role="installation">
80 <title>Installation of Py</title>
81
82 <para>Build the module: </para>
83
84<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
85
86 <para>
87 Now, as the <systemitem class="username">root</systemitem> user:
88 </para>
89
90 <para>
91 Due to the deprecation of this package, the test suite is not maintained
92 and cannot be run.
93 </para>
94
95<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user py</userinput></screen>
96
97 </sect3>
98
99 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
100 href="../../../xincludes/pip3-cmd-explain.xml"/>
101
102 <sect3 role="content">
103 <title>Contents</title>
104
105 <segmentedlist>
106 <segtitle>Installed Programs</segtitle>
107 <segtitle>Installed Libraries</segtitle>
108 <segtitle>Installed Directories</segtitle>
109
110 <seglistitem>
111 <seg>None</seg>
112 <seg>None</seg>
113 <seg>
114 /usr/lib/python&python3-majorver;/site-packages/py and
115 /usr/lib/python&python3-majorver;/site-packages/py-&py-version;.dist-info
116 </seg>
117 </seglistitem>
118 </segmentedlist>
119
120 </sect3>
121
122 </sect2>
Note: See TracBrowser for help on using the repository browser.