[0cf85fa] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect2 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 |
|
---|
[432ea40] | 7 | <!ENTITY babel-download-http "https://github.com/python-babel/babel/archive/refs/tags/v&babel-version;/babel-&babel-version;.tar.gz">
|
---|
| 8 | <!ENTITY babel-download-ftp " ">
|
---|
| 9 | <!ENTITY babel-md5sum "066593ad94505b73746ba25d929cb94b">
|
---|
| 10 | <!ENTITY babel-size "269 KB">
|
---|
| 11 | <!ENTITY babel-buildsize "2.6 MB">
|
---|
| 12 | <!ENTITY babel-time "less than 0.1 SBU">
|
---|
[0cf85fa] | 13 | ]>
|
---|
| 14 |
|
---|
[432ea40] | 15 | <sect2 id="babel" xreflabel="babel-&babel-version;">
|
---|
[0cf85fa] | 16 |
|
---|
[432ea40] | 17 | <title>Babel-&babel-version;</title>
|
---|
[0cf85fa] | 18 |
|
---|
[432ea40] | 19 | <indexterm zone="babel">
|
---|
| 20 | <primary sortas="a-babel">babel</primary>
|
---|
[0cf85fa] | 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect3 role="package">
|
---|
[432ea40] | 24 | <title>Introduction to Babel Module</title>
|
---|
[0cf85fa] | 25 |
|
---|
| 26 | <para>
|
---|
[432ea40] | 27 | The <application>Babel</application> package Babel is an integrated
|
---|
| 28 | collection of utilities that assist in internationalizing and
|
---|
| 29 | localizing Python applications, with an emphasis on web-based
|
---|
| 30 | applications.
|
---|
[0cf85fa] | 31 | </para>
|
---|
| 32 |
|
---|
| 33 | &lfs112_checked;
|
---|
| 34 |
|
---|
| 35 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>
|
---|
[432ea40] | 39 | Download (HTTP): <ulink url="&babel-download-http;"/>
|
---|
[0cf85fa] | 40 | </para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
[432ea40] | 44 | Download (FTP): <ulink url="&babel-download-ftp;"/>
|
---|
[0cf85fa] | 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
[432ea40] | 49 | Download MD5 sum: &babel-md5sum;
|
---|
[0cf85fa] | 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
[432ea40] | 54 | Download size: &babel-size;
|
---|
[0cf85fa] | 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
[432ea40] | 59 | Estimated disk space required: &babel-buildsize;
|
---|
[0cf85fa] | 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
[432ea40] | 64 | Estimated build time: &babel-time;
|
---|
[0cf85fa] | 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
[036821b] | 69 | <bridgehead renderas="sect4">Babel Dependencies</bridgehead>
|
---|
[0cf85fa] | 70 |
|
---|
[432ea40] | 71 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 72 | <para role="required">
|
---|
| 73 | <xref linkend="pytz"/>
|
---|
[0cf85fa] | 74 | </para>
|
---|
| 75 |
|
---|
| 76 | </sect3>
|
---|
| 77 |
|
---|
| 78 | <sect3 role="installation">
|
---|
[432ea40] | 79 | <title>Installation of Babel</title>
|
---|
[0cf85fa] | 80 | <para> Build the module: </para>
|
---|
| 81 |
|
---|
| 82 | <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
|
---|
| 83 |
|
---|
| 84 | <para>
|
---|
| 85 | This package does not come with a test suite.
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <para>
|
---|
| 89 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
[432ea40] | 92 | <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user babel</userinput></screen>
|
---|
[0cf85fa] | 93 |
|
---|
| 94 | </sect3>
|
---|
| 95 |
|
---|
| 96 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 97 | href="../../../xincludes/pip3-cmd-explain.xml"/>
|
---|
| 98 |
|
---|
| 99 | <sect3 role="content">
|
---|
| 100 | <title>Contents</title>
|
---|
| 101 |
|
---|
| 102 | <segmentedlist>
|
---|
| 103 | <segtitle>Installed Programs</segtitle>
|
---|
| 104 | <segtitle>Installed Libraries</segtitle>
|
---|
| 105 | <segtitle>Installed Directories</segtitle>
|
---|
| 106 |
|
---|
| 107 | <seglistitem>
|
---|
| 108 | <seg>
|
---|
[432ea40] | 109 | pybabel
|
---|
[0cf85fa] | 110 | </seg>
|
---|
| 111 | <seg>None</seg>
|
---|
| 112 | <seg>
|
---|
[432ea40] | 113 | /usr/lib/python&python3-majorver;/site-packages/babel and
|
---|
| 114 | /usr/lib/python&python3-majorver;/site-packages/Babel-&babel-version;.dist-info
|
---|
[0cf85fa] | 115 | </seg>
|
---|
| 116 | </seglistitem>
|
---|
| 117 | </segmentedlist>
|
---|
[432ea40] | 118 |
|
---|
[0cf85fa] | 119 | <variablelist>
|
---|
| 120 | <bridgehead renderas="sect5">Short Descriptions</bridgehead>
|
---|
| 121 | <?dbfo list-presentation="list"?>
|
---|
| 122 | <?dbhtml list-presentation="table"?>
|
---|
| 123 |
|
---|
[432ea40] | 124 | <varlistentry id="pybabel">
|
---|
| 125 | <term><command>pybabel</command></term>
|
---|
[0cf85fa] | 126 | <listitem>
|
---|
| 127 | <para>
|
---|
[432ea40] | 128 | is a command-line interface for working with message
|
---|
| 129 | catalogs
|
---|
[0cf85fa] | 130 | </para>
|
---|
[432ea40] | 131 | <indexterm zone="babel pybabel">
|
---|
| 132 | <primary sortas="b-pybabel">pybabel</primary>
|
---|
[0cf85fa] | 133 | </indexterm>
|
---|
| 134 | </listitem>
|
---|
| 135 | </varlistentry>
|
---|
[036821b] | 136 | </variablelist>
|
---|
[0cf85fa] | 137 |
|
---|
| 138 | </sect3>
|
---|
| 139 |
|
---|
| 140 | </sect2>
|
---|