mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
0a43695c61
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19788 af4574ff-66df-0310-9fd7-8a98e5e911e0
143 lines
3.8 KiB
XML
143 lines
3.8 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY six-download-http "https://pypi.io/packages/source/s/six/six-&six-version;.tar.gz">
|
|
<!ENTITY six-download-ftp " ">
|
|
<!ENTITY six-md5sum "d12789f9baf7e9fb2524c0c64f1773f8">
|
|
<!ENTITY six-size "32 KB">
|
|
<!ENTITY six-buildsize "352 KB">
|
|
<!ENTITY six-time "less than 0.1 SBU">
|
|
]>
|
|
|
|
<!-- Begin six -->
|
|
<sect2 id="six" xreflabel="six-&six-version;">
|
|
|
|
<title>six-&six-version;</title>
|
|
|
|
<indexterm zone="six">
|
|
<primary sortas="a-six">six</primary>
|
|
</indexterm>
|
|
|
|
<sect3 role="package">
|
|
<title>Introduction to Six Module</title>
|
|
|
|
<para>
|
|
Six is a Python 2 and 3 compatibility library.
|
|
</para>
|
|
|
|
&lfs82_checked;
|
|
<!-- Does not use gcc -->
|
|
|
|
<bridgehead renderas="sect4">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&six-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&six-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &six-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &six-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &six-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &six-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect4">Six Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect5">Optional Dependencies</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="python2"/>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">
|
|
User Notes: <ulink url="&blfs-wiki;/six"/>
|
|
</para>
|
|
</sect3>
|
|
|
|
<sect3 role="installation">
|
|
<title>Installation of six</title>
|
|
|
|
<para>
|
|
Install <application>six</application> for Python2 by running
|
|
the following commands:
|
|
</para>
|
|
|
|
<screen><userinput>python2 setup.py build</userinput></screen>
|
|
|
|
<para>
|
|
This package does not come with a test suite.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>python2 setup.py install --optimize=1</userinput></screen>
|
|
|
|
<para>
|
|
Install <application>six</application> for Python3 by running
|
|
the following commands:
|
|
</para>
|
|
|
|
<screen><userinput>python3 setup.py build</userinput></screen>
|
|
|
|
<para>
|
|
This package does not come with a test suite.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
|
|
|
|
</sect3>
|
|
|
|
<sect3 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Module</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
six.py
|
|
</seg>
|
|
<seg>
|
|
/usr/lib/python2.7/site-packages/six-1.10.0-py2.7.egg and/or
|
|
/usr/lib/python3.6/site-packages/six-1.10.0-py3.6.egg
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
</sect3>
|
|
</sect2>
|
|
<!-- End six -->
|