2019-10-25 14:28:45 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!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;
|
|
|
|
|
|
|
|
<!ENTITY decorator-download-http "https://files.pythonhosted.org/packages/source/d/decorator/decorator-&decorator-version;.tar.gz">
|
|
|
|
<!ENTITY decorator-download-ftp " ">
|
2021-05-18 23:37:14 +08:00
|
|
|
<!ENTITY decorator-md5sum "a90526e45e7a30cf2710d6467f403e03">
|
2019-10-25 14:28:45 +08:00
|
|
|
<!ENTITY decorator-size "36 KB">
|
2021-05-18 02:47:28 +08:00
|
|
|
<!ENTITY decorator-buildsize "232 KB">
|
2019-10-29 06:16:47 +08:00
|
|
|
<!ENTITY decorator-time "less than 0.1 SBU">
|
2019-10-25 14:28:45 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<!-- Begin decorator -->
|
|
|
|
<sect2 id="decorator" xreflabel="decorator-&decorator-version;">
|
|
|
|
<title>decorator-&decorator-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="decorator">
|
|
|
|
<primary sortas="a-decorator">decorator</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect3 role="package">
|
|
|
|
<title>Introduction to decorator Module</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The goal of the <application>decorator</application> module is to make
|
|
|
|
it easy to define signature-preserving function decorators and
|
|
|
|
decorator factories.
|
|
|
|
</para>
|
|
|
|
|
2021-08-28 08:08:59 +08:00
|
|
|
&lfs110a_checked;
|
2019-10-25 14:28:45 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&decorator-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&decorator-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &decorator-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &decorator-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &decorator-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &decorator-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/decorator"/>
|
|
|
|
</para>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 role="installation">
|
|
|
|
<title>Installation of decorator</title>
|
|
|
|
|
2020-03-12 17:24:44 +08:00
|
|
|
<para>
|
|
|
|
Install <application>decorator</application> with the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2019-10-25 14:28:45 +08:00
|
|
|
|
|
|
|
<screen><userinput>python3 setup.py build</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
This package does not come with a test suite.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
To install the decorator package with the following command as the
|
|
|
|
<systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
|
|
|
<seg>
|
2021-05-02 01:29:36 +08:00
|
|
|
/usr/lib/python&python3-majorver;/site-packages/decorator-&decorator-version;-py&python3-majorver;.egg-info
|
2019-10-25 14:28:45 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2021-05-02 01:29:36 +08:00
|
|
|
None
|
2019-10-25 14:28:45 +08:00
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|