[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[92b6254a] | 2 | <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[93218512] | 7 | <!ENTITY pyproject-metadata-download-http "https://files.pythonhosted.org/packages/source/p/pyproject-metadata/pyproject_metadata-&pyproject-metadata-version;.tar.gz">
|
---|
[92b6254a] | 8 | <!ENTITY pyproject-metadata-download-ftp " ">
|
---|
[569925c7] | 9 | <!ENTITY pyproject-metadata-md5sum "&pyproject-metadata-md5sum;">
|
---|
[92b6254a] | 10 | <!ENTITY pyproject-metadata-size "8 KB">
|
---|
[523cb74a] | 11 | <!ENTITY pyproject-metadata-buildsize "124 KB">
|
---|
[92b6254a] | 12 | <!ENTITY pyproject-metadata-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect2 id="pyproject-metadata" xreflabel="pyproject-metadata-&pyproject-metadata-version;">
|
---|
| 16 |
|
---|
| 17 | <title>Pyproject-Metadata-&pyproject-metadata-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="pyproject-metadata">
|
---|
| 20 | <primary sortas="a-pyproject-metadata">pyproject-metadata</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect3 role="package">
|
---|
| 24 | <title>Introduction to Pyproject-Metadata Module</title>
|
---|
| 25 |
|
---|
| 26 | <para>
|
---|
| 27 | The <application>Pyproject-Metadata</application> module contains
|
---|
| 28 | a data class for PEP 621 metadata with support for
|
---|
| 29 | <quote>core metadata</quote> (PEP 643) generation.
|
---|
| 30 | </para>
|
---|
| 31 |
|
---|
[f822342] | 32 | &lfs122_checked;
|
---|
[92b6254a] | 33 |
|
---|
| 34 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 35 | <itemizedlist spacing="compact">
|
---|
| 36 | <listitem>
|
---|
| 37 | <para>
|
---|
| 38 | Download (HTTP): <ulink url="&pyproject-metadata-download-http;"/>
|
---|
| 39 | </para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (FTP): <ulink url="&pyproject-metadata-download-ftp;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download MD5 sum: &pyproject-metadata-md5sum;
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download size: &pyproject-metadata-size;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Estimated disk space required: &pyproject-metadata-buildsize;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated build time: &pyproject-metadata-time;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 |
|
---|
| 68 | <bridgehead renderas="sect4">Pyproject-Metadata Dependencies</bridgehead>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 71 | <para role="required">
|
---|
| 72 | <xref linkend="packaging"/>
|
---|
| 73 | </para>
|
---|
| 74 |
|
---|
[1037704b] | 75 | <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
|
---|
| 76 | <para role="optional">
|
---|
| 77 | <xref linkend="pytest"/>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
[92b6254a] | 80 | </sect3>
|
---|
| 81 |
|
---|
| 82 | <sect3 role="installation">
|
---|
| 83 | <title>Installation of Pyproject-Metadata</title>
|
---|
| 84 |
|
---|
| 85 | <para>Build the module: </para>
|
---|
| 86 |
|
---|
[082e722] | 87 | &build-wheel;
|
---|
[92b6254a] | 88 |
|
---|
| 89 | <para>
|
---|
| 90 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
[082e722] | 93 | <screen role="root"><userinput>&install-wheel; pyproject-metadata</userinput></screen>
|
---|
[92b6254a] | 94 |
|
---|
[1037704b] | 95 | <!-- "pytest-cov[toml]" is referred but it seems not really used -->
|
---|
| 96 | <para>
|
---|
| 97 | To test the installation, issue: <command>pytest</command>.
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
[92b6254a] | 100 | </sect3>
|
---|
| 101 |
|
---|
| 102 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 103 | href="../../../xincludes/pip3-cmd-explain.xml"/>
|
---|
| 104 |
|
---|
| 105 | <sect3 role="content">
|
---|
| 106 | <title>Contents</title>
|
---|
| 107 |
|
---|
| 108 | <segmentedlist>
|
---|
| 109 | <segtitle>Installed Programs</segtitle>
|
---|
| 110 | <segtitle>Installed Libraries</segtitle>
|
---|
| 111 | <segtitle>Installed Directories</segtitle>
|
---|
| 112 |
|
---|
| 113 | <seglistitem>
|
---|
| 114 | <seg>None</seg>
|
---|
| 115 | <seg>None</seg>
|
---|
| 116 | <seg>
|
---|
[0514456] | 117 | /usr/lib/python&python3-majorver;/site-packages/pyproject_metadata and
|
---|
| 118 | /usr/lib/python&python3-majorver;/site-packages/pyproject_metadata-&pyproject-metadata-version;.dist-info
|
---|
[92b6254a] | 119 | </seg>
|
---|
| 120 | </seglistitem>
|
---|
| 121 | </segmentedlist>
|
---|
| 122 |
|
---|
| 123 | </sect3>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|