glfs/general/prog/python-dependencies/flit_core.xml

115 lines
3.3 KiB
XML
Raw Normal View History

2022-10-10 04:03:26 +08:00
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect2 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;
2022-10-14 21:03:28 +08:00
<!ENTITY flit_core-download-http "https://files.pythonhosted.org/packages/source/f/flit_core/flit_core-&flit_core-version;.tar.gz">
<!ENTITY flit_core-download-ftp " ">
<!ENTITY flit_core-md5sum "4a4791e97f3a8c9a1645064a35636ee6">
<!ENTITY flit_core-size "39 KB">
<!ENTITY flit_core-buildsize "2.6 MB">
<!ENTITY flit_core-time "less than 0.1 SBU">
2022-10-10 04:03:26 +08:00
]>
2022-10-14 21:03:28 +08:00
<sect2 id="flit_core" xreflabel="flit_core-&flit_core-version;">
2022-10-10 04:03:26 +08:00
2022-10-14 21:03:28 +08:00
<title>flit_core-&flit_core-version;</title>
2022-10-10 04:03:26 +08:00
2022-10-14 21:03:28 +08:00
<indexterm zone="flit_core">
<primary sortas="a-flit_core">flit_core</primary>
2022-10-10 04:03:26 +08:00
</indexterm>
<sect3 role="package">
<title>Introduction to flit_core Module</title>
<para>
The <application>flit_core</application> module is the key component
of the <application>flit</application> system, which provides a
simple way to put Python packages and modules on PyPi.
</para>
&lfs112_checked;
<bridgehead renderas="sect4">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
2022-10-14 21:03:28 +08:00
Download (HTTP): <ulink url="&flit_core-download-http;"/>
2022-10-10 04:03:26 +08:00
</para>
</listitem>
<listitem>
<para>
2022-10-14 21:03:28 +08:00
Download (FTP): <ulink url="&flit_core-download-ftp;"/>
2022-10-10 04:03:26 +08:00
</para>
</listitem>
<listitem>
<para>
2022-10-14 21:03:28 +08:00
Download MD5 sum: &flit_core-md5sum;
2022-10-10 04:03:26 +08:00
</para>
</listitem>
<listitem>
<para>
2022-10-14 21:03:28 +08:00
Download size: &flit_core-size;
2022-10-10 04:03:26 +08:00
</para>
</listitem>
<listitem>
<para>
2022-10-14 21:03:28 +08:00
Estimated disk space required: &flit_core-buildsize;
2022-10-10 04:03:26 +08:00
</para>
</listitem>
<listitem>
<para>
2022-10-14 21:03:28 +08:00
Estimated build time: &flit_core-time;
2022-10-10 04:03:26 +08:00
</para>
</listitem>
</itemizedlist>
</sect3>
<sect3 role="installation">
<title>Installation of flit_core</title>
<para>
2022-10-14 21:03:28 +08:00
Build the module:
2022-10-10 04:03:26 +08:00
</para>
2022-10-14 21:03:28 +08:00
<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
2022-10-10 04:03:26 +08:00
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user flit_core</userinput></screen>
</sect3>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../../xincludes/pip3-cmd-explain.xml"/>
<sect3 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>None</seg>
<seg>None</seg>
<seg>
/usr/lib/python&python3-majorver;/site-packages/flit_core and
2022-10-14 21:03:28 +08:00
/usr/lib/python&python3-majorver;/site-packages/flit_core-&flit_core-version;.dist-info
2022-10-10 04:03:26 +08:00
</seg>
</seglistitem>
</segmentedlist>
</sect3>
</sect2>