[88149d4d] | 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 |
|
---|
[301c411] | 7 | <!ENTITY tomli-download-http "https://files.pythonhosted.org/packages/source/t/tomli/tomli-&tomli-version;.tar.gz">
|
---|
[88149d4d] | 8 | <!ENTITY tomli-download-ftp " ">
|
---|
[830c353] | 9 | <!ENTITY tomli-md5sum "d4341621d423a7ca6822e23d6d52bb9a">
|
---|
| 10 | <!ENTITY tomli-size "15 KB">
|
---|
[72c62e4] | 11 | <!ENTITY tomli-buildsize "260 KB">
|
---|
[88149d4d] | 12 | <!ENTITY tomli-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect2 id="tomli" xreflabel="tomli-&tomli-version;">
|
---|
| 16 |
|
---|
| 17 | <title>Tomli-&tomli-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="tomli">
|
---|
| 20 | <primary sortas="a-tomli">tomli</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect3 role="package">
|
---|
| 24 | <title>Introduction to Tomli Module</title>
|
---|
| 25 |
|
---|
| 26 | <para>
|
---|
[830c353] | 27 | <application>Tomli</application> is a python library for parsing
|
---|
| 28 | TOML format.
|
---|
[88149d4d] | 29 | </para>
|
---|
| 30 |
|
---|
| 31 | &lfs112_checked;
|
---|
| 32 |
|
---|
| 33 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 34 | <itemizedlist spacing="compact">
|
---|
| 35 | <listitem>
|
---|
| 36 | <para>
|
---|
| 37 | Download (HTTP): <ulink url="&tomli-download-http;"/>
|
---|
| 38 | </para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (FTP): <ulink url="&tomli-download-ftp;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download MD5 sum: &tomli-md5sum;
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download size: &tomli-size;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Estimated disk space required: &tomli-buildsize;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated build time: &tomli-time;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | </itemizedlist>
|
---|
| 66 |
|
---|
[830c353] | 67 | <bridgehead renderas="sect4">Tomli Dependencies</bridgehead>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 70 | <para role="required">
|
---|
| 71 | <xref linkend="flit_core"/>
|
---|
| 72 | </para>
|
---|
| 73 |
|
---|
| 74 |
|
---|
[88149d4d] | 75 | </sect3>
|
---|
| 76 |
|
---|
| 77 | <sect3 role="installation">
|
---|
| 78 | <title>Installation of Tomli</title>
|
---|
| 79 |
|
---|
| 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 |
|
---|
| 92 | <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user tomli</userinput></screen>
|
---|
| 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>None</seg>
|
---|
| 109 | <seg>None</seg>
|
---|
| 110 | <seg>
|
---|
| 111 | /usr/lib/python&python3-majorver;/site-packages/tomli and
|
---|
| 112 | /usr/lib/python&python3-majorver;/site-packages/tomli-&tomli-version;.dist-info
|
---|
| 113 | </seg>
|
---|
| 114 | </seglistitem>
|
---|
| 115 | </segmentedlist>
|
---|
| 116 |
|
---|
| 117 | </sect3>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|