source: general/prog/python-dependencies/msgpack.xml@ 282a0eb

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 282a0eb was 282a0eb, checked in by Bruce Dubbs <bdubbs@…>, 10 months ago

Tag most of Chapter 13

  • Property mode set to 100644
File size: 3.8 KB
Line 
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
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;">
10 <!ENTITY msgpack-size "126 KB">
11 <!ENTITY msgpack-buildsize "1.9 MB (add 0.3 MB for tests)">
12 <!ENTITY msgpack-time "less than 0.1 SBU">
13]>
14
15 <sect2 id="msgpack" xreflabel="msgpack-&msgpack-version;">
16
17 <title>MessagePack-&msgpack-version;</title>
18
19 <indexterm zone="msgpack">
20 <primary sortas="a-msgpack">msgpack</primary>
21 </indexterm>
22
23 <sect3 role="package">
24 <title>Introduction to MessagePack Module</title>
25
26 <para>
27 <application>MessagePack</application> is an efficient binary
28 serialization format. It lets you exchange data among multiple
29 languages like JSON. But it's faster and smaller. This package
30 provides CPython bindings for reading and writing MessagePack data.
31 </para>
32
33 &lfs120_checked;
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
69 <bridgehead renderas="sect4">MessagePack Dependencies</bridgehead>
70
71 <bridgehead renderas="sect5">Required</bridgehead>
72 <para role="required">
73 <xref linkend="cython"/> and
74 <xref linkend="setuptools_scm"/>
75 </para>
76
77 <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
78 <para role="optional">
79 <xref linkend="pluggy"/> and
80 <xref linkend="pytest"/>
81 </para>
82
83 </sect3>
84
85 <sect3 role="installation">
86 <title>Installation of MessagePack</title>
87
88 <para> Build the module: </para>
89
90<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
91
92 <para>
93 Now, as the <systemitem class="username">root</systemitem> user:
94 </para>
95
96<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user msgpack</userinput></screen>
97
98 <para>
99 To test the installation issue <command>pytest</command>.
100 </para>
101
102 </sect3>
103
104 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
105 href="../../../xincludes/pip3-cmd-explain.xml"/>
106
107 <sect3 role="content">
108 <title>Contents</title>
109
110 <segmentedlist>
111 <segtitle>Installed Programs</segtitle>
112 <segtitle>Installed Libraries</segtitle>
113 <segtitle>Installed Directories</segtitle>
114
115 <seglistitem>
116 <seg>None</seg>
117 <seg>None</seg>
118 <seg>
119 /usr/lib/python&python3-majorver;/site-packages/msgpack-&msgpack-version;.dist-info and
120 /usr/lib/python&python3-majorver;/site-packages/msgpack
121 </seg>
122 </seglistitem>
123 </segmentedlist>
124
125 </sect3>
126
127 </sect2>
Note: See TracBrowser for help on using the repository browser.