[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[381cfd18] | 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 |
|
---|
| 7 | <!ENTITY msgpack-download-http "https://files.pythonhosted.org/packages/source/m/msgpack/msgpack-&msgpack-version;.tar.gz">
|
---|
| 8 | <!ENTITY msgpack-download-ftp " ">
|
---|
| 9 | <!ENTITY msgpack-md5sum "&msgpack-md5sum;">
|
---|
[234bc845] | 10 | <!ENTITY msgpack-size "164 KB">
|
---|
[381cfd18] | 11 | <!ENTITY msgpack-buildsize "1.9 MB (add 0.3 MB for tests)">
|
---|
| 12 | <!ENTITY msgpack-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[6a22b91] | 15 | <sect2 id="msgpack" xreflabel="msgpack-&msgpack-version;">
|
---|
[381cfd18] | 16 |
|
---|
[52f84d9] | 17 | <title>Msgpack-&msgpack-version;</title>
|
---|
[381cfd18] | 18 |
|
---|
| 19 | <indexterm zone="msgpack">
|
---|
| 20 | <primary sortas="a-msgpack">msgpack</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect3 role="package">
|
---|
[52f84d9] | 24 | <title>Introduction to Msgpack Module</title>
|
---|
[381cfd18] | 25 |
|
---|
| 26 | <para>
|
---|
[52f84d9] | 27 | <application>Msgpack</application> is an efficient binary
|
---|
[381cfd18] | 28 | serialization format. It lets you exchange data among multiple
|
---|
| 29 | languages like JSON. But it's faster and smaller. This package
|
---|
[52f84d9] | 30 | provides CPython bindings for reading and writing Msgpack data.
|
---|
[381cfd18] | 31 | </para>
|
---|
| 32 |
|
---|
[f822342] | 33 | &lfs122_checked;
|
---|
[381cfd18] | 34 |
|
---|
| 35 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&msgpack-download-http;"/>
|
---|
| 40 | </para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&msgpack-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download MD5 sum: &msgpack-md5sum;
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download size: &msgpack-size;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Estimated disk space required: &msgpack-buildsize;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated build time: &msgpack-time;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
[52f84d9] | 69 | <bridgehead renderas="sect4">Msgpack Dependencies</bridgehead>
|
---|
[381cfd18] | 70 |
|
---|
| 71 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 72 | <para role="required">
|
---|
[a8c1294] | 73 | <xref linkend="cython"/> and
|
---|
[381cfd18] | 74 | <xref linkend="setuptools_scm"/>
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
|
---|
| 78 | <para role="optional">
|
---|
| 79 | <xref linkend="pytest"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
| 82 | </sect3>
|
---|
| 83 |
|
---|
| 84 | <sect3 role="installation">
|
---|
[52f84d9] | 85 | <title>Installation of Msgpack</title>
|
---|
[381cfd18] | 86 |
|
---|
| 87 | <para> Build the module: </para>
|
---|
| 88 |
|
---|
[082e722] | 89 | &build-wheel;
|
---|
[381cfd18] | 90 |
|
---|
| 91 | <para>
|
---|
| 92 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
[082e722] | 95 | <screen role="root"><userinput>&install-wheel; msgpack</userinput></screen>
|
---|
[381cfd18] | 96 |
|
---|
| 97 | <para>
|
---|
| 98 | To test the installation issue <command>pytest</command>.
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
| 101 | </sect3>
|
---|
| 102 |
|
---|
| 103 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 104 | href="../../../xincludes/pip3-cmd-explain.xml"/>
|
---|
| 105 |
|
---|
| 106 | <sect3 role="content">
|
---|
| 107 | <title>Contents</title>
|
---|
| 108 |
|
---|
| 109 | <segmentedlist>
|
---|
| 110 | <segtitle>Installed Programs</segtitle>
|
---|
| 111 | <segtitle>Installed Libraries</segtitle>
|
---|
| 112 | <segtitle>Installed Directories</segtitle>
|
---|
| 113 |
|
---|
| 114 | <seglistitem>
|
---|
| 115 | <seg>None</seg>
|
---|
| 116 | <seg>None</seg>
|
---|
| 117 | <seg>
|
---|
[a8c1294] | 118 | /usr/lib/python&python3-majorver;/site-packages/msgpack-&msgpack-version;.dist-info and
|
---|
[381cfd18] | 119 | /usr/lib/python&python3-majorver;/site-packages/msgpack
|
---|
| 120 | </seg>
|
---|
| 121 | </seglistitem>
|
---|
| 122 | </segmentedlist>
|
---|
| 123 |
|
---|
| 124 | </sect3>
|
---|
| 125 |
|
---|
| 126 | </sect2>
|
---|