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

trunk
Last change on this file was 99c90fa, checked in by Douglas R. Reno <renodr@…>, 2 months ago

Lots of tags

  • Property mode set to 100644
File size: 3.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 &lfs121_checked;
32
33 <bridgehead renderas="sect4">Package Information</bridgehead>
34 <itemizedlist spacing="compact">
35 <listitem>
36 <para>
37 Download (HTTP): <ulink url="&six-download-http;"/>
38 </para>
39 </listitem>
40 <listitem>
41 <para>
42 Download (FTP): <ulink url="&six-download-ftp;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download MD5 sum: &six-md5sum;
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download size: &six-size;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Estimated disk space required: &six-buildsize;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated build time: &six-time;
63 </para>
64 </listitem>
65 </itemizedlist>
66<!--
67 <bridgehead renderas="sect4">Six Dependencies</bridgehead>
68
69 <bridgehead renderas="sect5">Recommended Dependencies</bridgehead>
70 <para role="recommended">
71 <xref linkend="python2"/>
72 </para>
73-->
74 </sect3>
75
76 <sect3 role="installation">
77 <title>Installation of Six</title>
78<!--
79 <note>
80 <para>
81 Both <application>Python 2</application> and
82 <application>Python 3</application> modules can
83 be built and installed without any conflicts.
84 </para>
85 </note>
86
87 <para>
88 Install <application>six</application> for Python 2 and Python 3
89 by running the following commands:
90 </para>
91
92<screen><userinput>python2 setup.py build &amp;&amp;
93python3 setup.py build</userinput></screen>
94-->
95 <para>
96 Build the module:
97 </para>
98
99&build-wheel;
100
101 <para>
102 This package does not come with a test suite.
103 </para>
104
105 <para>
106 Now, as the <systemitem class="username">root</systemitem> user:
107 </para>
108<!--
109<screen role="root"><userinput>python2 setup.py install - -optimize=1 &amp;&amp;
110python3 setup.py install - -optimize=1</userinput></screen>
111-->
112
113<screen role="root"><userinput>&install-wheel; six</userinput></screen>
114
115 </sect3>
116
117 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
118 href="../../../xincludes/pip3-cmd-explain.xml"/>
119
120 <sect3 role="content">
121 <title>Contents</title>
122
123 <segmentedlist>
124 <segtitle>Installed Programs</segtitle>
125 <segtitle>Installed Libraries</segtitle>
126 <segtitle>Installed Directories</segtitle>
127
128 <seglistitem>
129 <seg>
130 None
131 </seg>
132 <seg>
133 None
134 </seg>
135 <seg>
136 /usr/lib/python&python3-majorver;/site-packages/six-&six-version;.dist-info
137 </seg>
138 </seglistitem>
139 </segmentedlist>
140 </sect3>
141
142 </sect2>
Note: See TracBrowser for help on using the repository browser.