[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[22f9c48] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[5fe69261] | 4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
[22f9c48] | 5 | %general-entities;
|
---|
| 6 |
|
---|
[88c3b98] | 7 | <!ENTITY PyYAML-download-http "https://files.pythonhosted.org/packages/source/P/PyYAML/PyYAML-&PyYAML-version;.tar.gz">
|
---|
[22f9c48] | 8 | <!ENTITY PyYAML-download-ftp " ">
|
---|
[569925c7] | 9 | <!ENTITY PyYAML-md5sum "&PyYAML-md5sum;">
|
---|
[88c3b98] | 10 | <!ENTITY PyYAML-size "124 KB">
|
---|
[6cea0871] | 11 | <!ENTITY PyYAML-buildsize "8.0 MB">
|
---|
[88c3b98] | 12 | <!ENTITY PyYAML-time "less than 0.1 SBU">
|
---|
[22f9c48] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <!-- Begin PyYAML -->
|
---|
[aa8bac6] | 16 | <sect2 id="PyYAML" xreflabel="PyYAML-&PyYAML-version;">
|
---|
[22f9c48] | 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 |
|
---|
[99c90fa] | 32 | &lfs121_checked;
|
---|
[36de390] | 33 |
|
---|
[22f9c48] | 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">
|
---|
[7b459c22] | 72 | <xref linkend="cython"/> and
|
---|
[b738ceb] | 73 | <xref linkend="libyaml"/>
|
---|
[22f9c48] | 74 | </para>
|
---|
| 75 |
|
---|
| 76 | </sect3>
|
---|
| 77 |
|
---|
| 78 | <sect3 role="installation">
|
---|
| 79 | <title>Installation of PyYAML</title>
|
---|
[0797528] | 80 |
|
---|
[22f9c48] | 81 | <para>
|
---|
[3a60bfb] | 82 | Build PyYAML with the following command:
|
---|
[22f9c48] | 83 | </para>
|
---|
| 84 |
|
---|
[db244ae2] | 85 | &build-wheel;
|
---|
[22f9c48] | 86 |
|
---|
| 87 | <para>
|
---|
[e7d47128] | 88 | Now, install the module as the &root; user:
|
---|
[22f9c48] | 89 | </para>
|
---|
| 90 |
|
---|
[db244ae2] | 91 | <screen role="root"><userinput>&install-wheel; PyYAML</userinput></screen>
|
---|
[22f9c48] | 92 |
|
---|
| 93 | </sect3>
|
---|
| 94 |
|
---|
[e7d47128] | 95 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[5fe69261] | 96 | href="../../../xincludes/pip3-cmd-explain.xml"/>
|
---|
[e7d47128] | 97 |
|
---|
[22f9c48] | 98 | <sect3 role="content">
|
---|
| 99 | <title>Contents</title>
|
---|
| 100 |
|
---|
| 101 | <segmentedlist>
|
---|
| 102 | <segtitle>Installed Programs</segtitle>
|
---|
| 103 | <segtitle>Installed Libraries</segtitle>
|
---|
| 104 | <segtitle>Installed Directories</segtitle>
|
---|
| 105 |
|
---|
| 106 | <seglistitem>
|
---|
| 107 | <seg>
|
---|
| 108 | None
|
---|
| 109 | </seg>
|
---|
| 110 | <seg>
|
---|
[e7d47128] | 111 | None
|
---|
[22f9c48] | 112 | </seg>
|
---|
| 113 | <seg>
|
---|
[e7d47128] | 114 | /usr/lib/python&python3-majorver;/site-packages/PyYAML-&yaml-version;.dist-info
|
---|
[22f9c48] | 115 | </seg>
|
---|
| 116 | </seglistitem>
|
---|
| 117 | </segmentedlist>
|
---|
| 118 |
|
---|
| 119 | </sect3>
|
---|
| 120 |
|
---|
| 121 | </sect2>
|
---|