[505c46cc] | 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 "https://pypi.io/packages/source/s/six/six-&six-version;.tar.gz">
|
---|
| 8 | <!ENTITY six-download-ftp " ">
|
---|
[fabeff7] | 9 | <!ENTITY six-md5sum "d12789f9baf7e9fb2524c0c64f1773f8">
|
---|
[505c46cc] | 10 | <!ENTITY six-size "32 KB">
|
---|
[fabeff7] | 11 | <!ENTITY six-buildsize "352 KB">
|
---|
[505c46cc] | 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 and 3 compatibility library.
|
---|
| 29 | </para>
|
---|
| 30 |
|
---|
[82e1be5] | 31 | &lfs83_checked;
|
---|
[505c46cc] | 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 |
|
---|
[60ddbaf] | 70 | <bridgehead renderas="sect5">Optional Dependencies</bridgehead>
|
---|
| 71 | <para role="optional">
|
---|
| 72 | <xref linkend="python2"/>
|
---|
[505c46cc] | 73 | </para>
|
---|
| 74 |
|
---|
| 75 | <para condition="html" role="usernotes">
|
---|
| 76 | User Notes: <ulink url="&blfs-wiki;/six"/>
|
---|
| 77 | </para>
|
---|
| 78 | </sect3>
|
---|
| 79 |
|
---|
| 80 | <sect3 role="installation">
|
---|
| 81 | <title>Installation of six</title>
|
---|
| 82 |
|
---|
| 83 | <para>
|
---|
| 84 | Install <application>six</application> for Python2 by running
|
---|
| 85 | the following commands:
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <screen><userinput>python2 setup.py build</userinput></screen>
|
---|
| 89 |
|
---|
| 90 | <para>
|
---|
| 91 | This package does not come with a test suite.
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <para>
|
---|
| 95 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <screen role="root"><userinput>python2 setup.py install --optimize=1</userinput></screen>
|
---|
| 99 |
|
---|
| 100 | <para>
|
---|
| 101 | Install <application>six</application> for Python3 by running
|
---|
| 102 | the following commands:
|
---|
| 103 | </para>
|
---|
| 104 |
|
---|
| 105 | <screen><userinput>python3 setup.py build</userinput></screen>
|
---|
| 106 |
|
---|
| 107 | <para>
|
---|
| 108 | This package does not come with a test suite.
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <para>
|
---|
| 112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
| 115 | <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | </sect3>
|
---|
| 118 |
|
---|
| 119 | <sect3 role="content">
|
---|
| 120 | <title>Contents</title>
|
---|
| 121 |
|
---|
| 122 | <segmentedlist>
|
---|
| 123 | <segtitle>Installed Programs</segtitle>
|
---|
| 124 | <segtitle>Installed Module</segtitle>
|
---|
| 125 | <segtitle>Installed Directories</segtitle>
|
---|
| 126 |
|
---|
| 127 | <seglistitem>
|
---|
| 128 | <seg>
|
---|
| 129 | None
|
---|
| 130 | </seg>
|
---|
| 131 | <seg>
|
---|
| 132 | six.py
|
---|
| 133 | </seg>
|
---|
| 134 | <seg>
|
---|
| 135 | /usr/lib/python2.7/site-packages/six-1.10.0-py2.7.egg and/or
|
---|
| 136 | /usr/lib/python3.6/site-packages/six-1.10.0-py3.6.egg
|
---|
| 137 | </seg>
|
---|
| 138 | </seglistitem>
|
---|
| 139 | </segmentedlist>
|
---|
| 140 | </sect3>
|
---|
| 141 | </sect2>
|
---|
| 142 | <!-- End six -->
|
---|