lfs-ru/chapter08/wheel.xml

91 lines
2.7 KiB
XML
Raw Permalink 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-wheel" role="wrap">
<?dbhtml filename="wheel.html"?>
<sect1info condition="script">
<productname>wheel</productname>
<productnumber>&wheel-version;</productnumber>
<address>&wheel-url;</address>
</sect1info>
<title>Wheel-&wheel-version;</title>
<indexterm zone="ch-system-wheel">
<primary sortas="a-wheel">wheel</primary>
</indexterm>
<sect2 role="package">
<title/>
<para>Wheel — это библиотека Python, которая является эталонной реализацией
стандарта упаковки программ на языке Python.</para>
<segmentedlist>
<segtitle>&buildtime;</segtitle>
<segtitle>&diskspace;</segtitle>
<seglistitem>
<seg>&wheel-fin-sbu;</seg>
<seg>&wheel-fin-du;</seg>
</seglistitem>
</segmentedlist>
</sect2>
<sect2 role="installation">
<title>Установка пакета Wheel</title>
<para>Скомпилируйте Wheel с помощью следующей команды:</para>
<screen><userinput remap="make">pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD</userinput></screen>
<para>Установите Wheel:</para>
<screen><userinput remap="install">pip3 install --no-index --find-links=dist wheel</userinput></screen>
</sect2>
<sect2 id="contents-wheel" role="content">
<title>Содержимое пакета Wheel</title>
<segmentedlist>
<segtitle>Установленные программы</segtitle>
<segtitle>Созданные каталоги</segtitle>
<seglistitem>
<seg>wheel</seg>
<seg>
/usr/lib/python&python-minor;/site-packages/wheel и
/usr/lib/python&python-minor;/site-packages/wheel-&wheel-version;.dist-info
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Краткое описание</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="wheel-wheel">
<term><command>wheel</command></term>
<listitem>
<para>
это утилита для распаковки, упаковки или преобразования wheel-архивов
</para>
<indexterm zone="ch-system-wheel">
<primary sortas="b-wheel">wheel</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>