1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect1 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 PyYAML-download-http "https://files.pythonhosted.org/packages/source/P/PyYAML/pyyaml-&PyYAML-version;.tar.gz">
|
---|
8 | <!ENTITY PyYAML-download-ftp " ">
|
---|
9 | <!ENTITY PyYAML-md5sum "&PyYAML-md5sum;">
|
---|
10 | <!ENTITY PyYAML-size "128 KB">
|
---|
11 | <!ENTITY PyYAML-buildsize "8.5 MB">
|
---|
12 | <!ENTITY PyYAML-time "0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <!-- Begin PyYAML -->
|
---|
16 | <sect2 id="PyYAML" xreflabel="PyYAML-&PyYAML-version;">
|
---|
17 |
|
---|
18 | <title>PyYAML-&PyYAML-version;</title>
|
---|
19 |
|
---|
20 | <indexterm zone="PyYAML">
|
---|
21 | <primary sortas="a-PyYAML">PyYAML</primary>
|
---|
22 | </indexterm>
|
---|
23 |
|
---|
24 | <sect3 role="package">
|
---|
25 | <title>Introduction to PyYAML Module</title>
|
---|
26 |
|
---|
27 | <para>
|
---|
28 | <application>PyYAML</application> is a <application>Python</application>
|
---|
29 | module that implements the next generation YAML parser and emitter.
|
---|
30 | </para>
|
---|
31 |
|
---|
32 | &lfs122_checked;
|
---|
33 |
|
---|
34 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
35 | <itemizedlist spacing="compact">
|
---|
36 | <listitem>
|
---|
37 | <para>
|
---|
38 | Download (HTTP): <ulink url="&PyYAML-download-http;"/>
|
---|
39 | </para>
|
---|
40 | </listitem>
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (FTP): <ulink url="&PyYAML-download-ftp;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download MD5 sum: &PyYAML-md5sum;
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download size: &PyYAML-size;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Estimated disk space required: &PyYAML-buildsize;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated build time: &PyYAML-time;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | </itemizedlist>
|
---|
67 |
|
---|
68 | <bridgehead renderas="sect4">PyYAML Dependencies</bridgehead>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
71 | <para role="required">
|
---|
72 | <xref linkend="cython"/> and
|
---|
73 | <xref linkend="libyaml"/>
|
---|
74 | </para>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
77 | <para role="optional">
|
---|
78 | <xref linkend="pytest"/> (for testing)
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | </sect3>
|
---|
82 |
|
---|
83 | <sect3 role="installation">
|
---|
84 | <title>Installation of PyYAML</title>
|
---|
85 |
|
---|
86 | <para>
|
---|
87 | Build PyYAML with the following command:
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | &build-wheel;
|
---|
91 |
|
---|
92 | <para>
|
---|
93 | Now, install the module as the &root; user:
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <screen role="root"><userinput>&install-wheel; PyYAML</userinput></screen>
|
---|
97 |
|
---|
98 | <para>
|
---|
99 | To test the results, 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>
|
---|
117 | None
|
---|
118 | </seg>
|
---|
119 | <seg>
|
---|
120 | None
|
---|
121 | </seg>
|
---|
122 | <seg>
|
---|
123 | /usr/lib/python&python3-majorver;/site-packages/PyYAML-&yaml-version;.dist-info
|
---|
124 | </seg>
|
---|
125 | </seglistitem>
|
---|
126 | </segmentedlist>
|
---|
127 |
|
---|
128 | </sect3>
|
---|
129 |
|
---|
130 | </sect2>
|
---|