2022-10-03 04:50:11 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect2 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;
|
|
|
|
|
2022-10-14 21:03:28 +08:00
|
|
|
<!ENTITY idna-download-http "https://files.pythonhosted.org/packages/source/i/idna/idna-&idna-version;.tar.gz">
|
2022-10-03 04:50:11 +08:00
|
|
|
<!ENTITY idna-download-ftp " ">
|
2023-02-01 08:02:12 +08:00
|
|
|
<!ENTITY idna-md5sum "&idna-md5sum;">
|
2022-10-14 21:03:28 +08:00
|
|
|
<!ENTITY idna-size "179 KB">
|
2022-11-04 19:24:09 +08:00
|
|
|
<!ENTITY idna-buildsize "2.1 MB (with test)">
|
|
|
|
<!ENTITY idna-time "less than 0.1 SBU (with tests)">
|
2022-10-03 04:50:11 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect2 id="idna" xreflabel="idna-&idna-version;">
|
|
|
|
|
2022-10-10 04:03:26 +08:00
|
|
|
<title>Idna-&idna-version;</title>
|
2022-10-03 04:50:11 +08:00
|
|
|
|
|
|
|
<indexterm zone="idna">
|
|
|
|
<primary sortas="a-idna">idna</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect3 role="package">
|
2022-10-10 04:03:26 +08:00
|
|
|
<title>Introduction to Idna Module</title>
|
2022-10-03 04:50:11 +08:00
|
|
|
|
|
|
|
<para>
|
2022-10-10 04:03:26 +08:00
|
|
|
The <application>Idna</application> module provides support
|
|
|
|
for the Internationalized Domain Names in Applications (IDNA) protocol
|
|
|
|
as specified in RFC 5891.
|
2022-10-03 04:50:11 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
&lfs112_checked;
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&idna-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&idna-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &idna-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &idna-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &idna-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &idna-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2022-10-16 15:58:22 +08:00
|
|
|
<bridgehead renderas="sect4">Idna Dependencies</bridgehead>
|
2022-10-03 04:50:11 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect5">Required</bridgehead>
|
2022-10-10 04:03:26 +08:00
|
|
|
<para role="required">
|
2022-10-14 21:03:28 +08:00
|
|
|
<xref linkend="flit_core"/>
|
2022-10-03 04:50:11 +08:00
|
|
|
</para>
|
|
|
|
|
2022-10-16 15:58:22 +08:00
|
|
|
<bridgehead renderas="sect5">Optional (for testing)</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="pytest"/>
|
|
|
|
</para>
|
|
|
|
|
2022-10-03 04:50:11 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 role="installation">
|
2022-11-07 07:15:56 +08:00
|
|
|
<title>Installation of Idna</title>
|
2022-10-03 04:50:11 +08:00
|
|
|
|
|
|
|
<para> Build the module: </para>
|
|
|
|
|
|
|
|
<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user idna</userinput></screen>
|
|
|
|
|
2022-10-16 15:58:22 +08:00
|
|
|
<para>
|
|
|
|
To test the installation, run <command>pytest</command>.
|
|
|
|
</para>
|
|
|
|
|
2022-10-03 04:50:11 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../../xincludes/pip3-cmd-explain.xml"/>
|
|
|
|
|
|
|
|
<sect3 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>None</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
<seg>
|
|
|
|
/usr/lib/python&python3-majorver;/site-packages/idna and
|
|
|
|
/usr/lib/python&python3-majorver;/site-packages/idna-&idna-version;.dist-info
|
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|