source: general/prog/python-modules/six.xml@ dd0a69f

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since dd0a69f was cb594b6c, checked in by Xi Ruoyao <xry111@…>, 13 months ago

general: Remove non-exist User Notes link

Part of User Notes removal by
https://www.linuxfromscratch.org/~xry111/remove-nonexist-usernote.sh

  • Property mode set to 100644
File size: 3.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 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 six-download-http "&pymodules-dl;/s/six/six-&six-version;.tar.gz">
8 <!ENTITY six-download-ftp " ">
9 <!ENTITY six-md5sum "&six-md5sum;">
10 <!ENTITY six-size "36 KB">
11 <!ENTITY six-buildsize "376 KB">
12 <!ENTITY six-time "less than 0.1 SBU">
13]>
14
15 <!-- Begin six -->
16 <sect2 id="six" xreflabel="six-&six-version;">
17
18 <title>six-&six-version;</title>
19
20 <indexterm zone="six">
21 <primary sortas="a-six">six</primary>
22 </indexterm>
23
24 <sect3 role="package">
25 <title>Introduction to Six Module</title>
26
27 <para>
28 Six is a Python 2 to 3 compatibility library.
29 </para>
30
31 &lfs113_checked;
32 <!-- Does not use gcc -->
33
34 <bridgehead renderas="sect4">Package Information</bridgehead>
35 <itemizedlist spacing="compact">
36 <listitem>
37 <para>
38 Download (HTTP): <ulink url="&six-download-http;"/>
39 </para>
40 </listitem>
41 <listitem>
42 <para>
43 Download (FTP): <ulink url="&six-download-ftp;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download MD5 sum: &six-md5sum;
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download size: &six-size;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Estimated disk space required: &six-buildsize;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated build time: &six-time;
64 </para>
65 </listitem>
66 </itemizedlist>
67<!--
68 <bridgehead renderas="sect4">Six Dependencies</bridgehead>
69
70 <bridgehead renderas="sect5">Recommended Dependencies</bridgehead>
71 <para role="recommended">
72 <xref linkend="python2"/>
73 </para>
74-->
75 </sect3>
76
77 <sect3 role="installation">
78 <title>Installation of Six</title>
79<!--
80 <note>
81 <para>
82 Both <application>Python 2</application> and
83 <application>Python 3</application> modules can
84 be built and installed without any conflicts.
85 </para>
86 </note>
87
88 <para>
89 Install <application>six</application> for Python 2 and Python 3
90 by running the following commands:
91 </para>
92
93<screen><userinput>python2 setup.py build &amp;&amp;
94python3 setup.py build</userinput></screen>
95-->
96 <para>
97 Build the module:
98 </para>
99
100<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
101
102 <para>
103 This package does not come with a test suite.
104 </para>
105
106 <para>
107 Now, as the <systemitem class="username">root</systemitem> user:
108 </para>
109<!--
110<screen role="root"><userinput>python2 setup.py install - -optimize=1 &amp;&amp;
111python3 setup.py install - -optimize=1</userinput></screen>
112-->
113
114<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user six</userinput></screen>
115
116 </sect3>
117
118 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
119 href="../../../xincludes/pip3-cmd-explain.xml"/>
120
121 <sect3 role="content">
122 <title>Contents</title>
123
124 <segmentedlist>
125 <segtitle>Installed Programs</segtitle>
126 <segtitle>Installed Libraries</segtitle>
127 <segtitle>Installed Directories</segtitle>
128
129 <seglistitem>
130 <seg>
131 None
132 </seg>
133 <seg>
134 None
135 </seg>
136 <seg>
137 /usr/lib/python&python3-majorver;/site-packages/six-&six-version;.dist-info
138 </seg>
139 </seglistitem>
140 </segmentedlist>
141 </sect3>
142
143 </sect2>
Note: See TracBrowser for help on using the repository browser.