lfs-ru/chapter08/markupsafe.xml
2023-05-24 11:00:49 +05:00

71 lines
2.1 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities;
]>
<sect1 id="ch-system-markupsafe" role="wrap" revision="systemd">
<?dbhtml filename="markupsafe.html"?>
<sect1info condition="script">
<productname>markupsafe</productname>
<productnumber>&markupsafe-version;</productnumber>
<address>&markupsafe-url;</address>
</sect1info>
<title>MarkupSafe-&markupsafe-version;</title>
<indexterm zone="ch-system-markupsafe">
<primary sortas="a-markupsafe">MarkupSafe</primary>
</indexterm>
<sect2 role="package">
<title/>
<para>MarkupSafe — это модуль Python, реализующий безопасное использование строк в языках разметки XML/HTML/XHTML</para>
<segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<seglistitem>
<seg>&markupsafe-fin-sbu;</seg>
<seg>&markupsafe-fin-du;</seg>
</seglistitem>
</segmentedlist>
</sect2>
<sect2 role="installation">
<title>Установка пакета MarkupSafe</title>
<para>Скомпилируйте MarkupSafe с помощью следующей команды:</para>
<screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
<para>С этим пакетом не поставляется набор тестов.</para>
<para>Установите пакет:</para>
<screen><userinput remap="install">pip3 install --no-index --no-user --find-links dist Markupsafe</userinput></screen>
</sect2>
<sect2 id="contents-markupsafe" role="content">
<title>Содержимое пакета MarkupSafe</title>
<segmentedlist>
<segtitle>Созданные каталоги</segtitle>
<seglistitem>
<seg>
/usr/lib/python&python-minor;/site-packages/MarkupSafe-&markupsafe-version;.dist-info
</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>