2024-01-20 05:35:53 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2016-06-06 11:35:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2022-09-16 00:18:59 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../../general.ent">
|
2016-06-06 11:35:53 +08:00
|
|
|
%general-entities;
|
|
|
|
|
2022-09-03 02:37:50 +08:00
|
|
|
<!ENTITY PyYAML-download-http "https://files.pythonhosted.org/packages/source/P/PyYAML/PyYAML-&PyYAML-version;.tar.gz">
|
2016-06-06 11:35:53 +08:00
|
|
|
<!ENTITY PyYAML-download-ftp " ">
|
2023-02-01 08:02:12 +08:00
|
|
|
<!ENTITY PyYAML-md5sum "&PyYAML-md5sum;">
|
2022-09-03 02:37:50 +08:00
|
|
|
<!ENTITY PyYAML-size "124 KB">
|
2023-07-20 08:42:20 +08:00
|
|
|
<!ENTITY PyYAML-buildsize "8.0 MB">
|
2022-09-03 02:37:50 +08:00
|
|
|
<!ENTITY PyYAML-time "less than 0.1 SBU">
|
2016-06-06 11:35:53 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<!-- Begin PyYAML -->
|
2019-03-28 06:00:43 +08:00
|
|
|
<sect2 id="PyYAML" xreflabel="PyYAML-&PyYAML-version;">
|
2016-06-06 11:35:53 +08:00
|
|
|
|
|
|
|
<title>PyYAML-&PyYAML-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="PyYAML">
|
|
|
|
<primary sortas="a-PyYAML">PyYAML</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect3 role="package">
|
|
|
|
<title>Introduction to PyYAML Module</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<application>PyYAML</application> is a <application>Python</application>
|
|
|
|
module that implements the next generation YAML parser and emitter.
|
|
|
|
</para>
|
|
|
|
|
2024-02-16 05:50:19 +08:00
|
|
|
&lfs121_checked;
|
2016-08-28 12:19:37 +08:00
|
|
|
|
2016-06-06 11:35:53 +08:00
|
|
|
<bridgehead renderas="sect4">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&PyYAML-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&PyYAML-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &PyYAML-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &PyYAML-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &PyYAML-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &PyYAML-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">PyYAML Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect5">Required</bridgehead>
|
|
|
|
<para role="required">
|
2022-09-11 02:21:42 +08:00
|
|
|
<xref linkend="cython"/> and
|
2019-04-17 00:41:13 +08:00
|
|
|
<xref linkend="libyaml"/>
|
2016-06-06 11:35:53 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 role="installation">
|
|
|
|
<title>Installation of PyYAML</title>
|
2016-09-21 07:16:24 +08:00
|
|
|
|
2016-06-06 11:35:53 +08:00
|
|
|
<para>
|
2022-07-15 06:14:20 +08:00
|
|
|
Build PyYAML with the following command:
|
2016-06-06 11:35:53 +08:00
|
|
|
</para>
|
|
|
|
|
2023-09-11 07:13:10 +08:00
|
|
|
&build-wheel;
|
2016-06-06 11:35:53 +08:00
|
|
|
|
|
|
|
<para>
|
2022-04-21 09:13:14 +08:00
|
|
|
Now, install the module as the &root; user:
|
2016-06-06 11:35:53 +08:00
|
|
|
</para>
|
|
|
|
|
2023-09-11 07:13:10 +08:00
|
|
|
<screen role="root"><userinput>&install-wheel; PyYAML</userinput></screen>
|
2016-06-06 11:35:53 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
2022-04-21 09:13:14 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2022-09-16 00:18:59 +08:00
|
|
|
href="../../../xincludes/pip3-cmd-explain.xml"/>
|
2022-04-21 09:13:14 +08:00
|
|
|
|
2016-06-06 11:35:53 +08:00
|
|
|
<sect3 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
|
|
|
<seg>
|
2022-04-21 09:13:14 +08:00
|
|
|
None
|
2016-06-06 11:35:53 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2022-04-21 09:13:14 +08:00
|
|
|
/usr/lib/python&python3-majorver;/site-packages/PyYAML-&yaml-version;.dist-info
|
2016-06-06 11:35:53 +08:00
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|