source: general/prog/python-dependencies/trove-classifiers.xml

trunk
Last change on this file was f5096a7d, checked in by Xi Ruoyao <xry111@…>, 13 days ago

python-dependencies: Update

  • Update to editables-0.5
  • Update to hatchling-1.24.2
  • Update to hatch-vcs-0.4.0
  • Update to pathspec-0.12.1
  • Update to pluggy-1.5.0
  • Update to setuptools_scm-8.0.4
  • Update to typing_extensions-4.11.0
  • Add trove-classifiers-2024.4.10 to support hatchling-1.24.2
  • Property mode set to 100644
File size: 4.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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
7 <!ENTITY trove-classifiers-download-http "https://files.pythonhosted.org/packages/source/t/trove_classifiers/trove-classifiers-&trove-classifiers-version;.tar.gz">
8 <!ENTITY trove-classifiers-download-ftp " ">
9 <!ENTITY trove-classifiers-md5sum "&trove-classifiers-md5sum;">
10 <!ENTITY trove-classifiers-size "16 KB">
11 <!ENTITY trove-classifiers-buildsize "276 KB">
12 <!ENTITY trove-classifiers-time "less than 0.1 SBU">
13]>
14
15 <sect2 id="trove-classifiers" xreflabel="trove-classifiers-&trove-classifiers-version;">
16
17 <title>Trove-Classifiers-&trove-classifiers-version;</title>
18
19 <indexterm zone="trove-classifiers">
20 <primary sortas="a-trove-classifiers">trove-classifiers</primary>
21 </indexterm>
22
23 <sect3 role="package">
24 <title>Introduction to Trove-Classifiers Module</title>
25
26 <para>
27 <application>Trove-Classifiers</application> is a Python library
28 to encompass all valid PyPI classifiers used to categorize projects
29 and releases per PEP 301, for example
30 <literal>Topic :: System :: Filesystems</literal> and
31 <literal>Development Status :: 6 - Mature</literal>.
32 </para>
33
34 &lfs121_checked;
35
36 <bridgehead renderas="sect4">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&trove-classifiers-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&trove-classifiers-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &trove-classifiers-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &trove-classifiers-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &trove-classifiers-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &trove-classifiers-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect4">Trove-Classifiers Dependencies</bridgehead>
71
72 <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
73 <para role="optional">
74 <xref linkend="pytest"/>
75 </para>
76 </sect3>
77
78 <sect3 role="installation">
79 <title>Installation of Trove-Classifiers</title>
80
81 <para>
82 First, hard code the package version into
83 <filename>setup.py</filename> to work around an issue causing the
84 generated wheel contain incorrect version string when the
85 <application>calver</application> module is not installed:
86 </para>
87
88<screen><userinput>sed '/calver/s/^/#/;$iversion="&trove-classifiers-version;"' \
89 -i setup.py</userinput></screen>
90
91 <para>Build the module: </para>
92
93&build-wheel;
94
95 <para>
96 Now, as the <systemitem class="username">root</systemitem> user:
97 </para>
98
99<screen role="root"><userinput>&install-wheel; trove-classifiers</userinput></screen>
100
101 <para>
102 To test the installation, issue: <command>pytest</command>.
103 </para>
104
105 </sect3>
106
107 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
108 href="../../../xincludes/pip3-cmd-explain.xml"/>
109
110 <sect3 role="content">
111 <title>Contents</title>
112
113 <segmentedlist>
114 <segtitle>Installed Programs</segtitle>
115 <segtitle>Installed Libraries</segtitle>
116 <segtitle>Installed Directories</segtitle>
117
118 <seglistitem>
119 <seg>None</seg>
120 <seg>None</seg>
121 <seg>
122 /usr/lib/python&python3-majorver;/site-packages/trove_classifiers and
123 /usr/lib/python&python3-majorver;/site-packages/trove_classifiers-&trove-classifiers-version;.dist-info
124 </seg>
125 </seglistitem>
126 </segmentedlist>
127
128 </sect3>
129
130 </sect2>
Note: See TracBrowser for help on using the repository browser.