[14c0be2f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 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 decorator-download-http "https://files.pythonhosted.org/packages/source/d/decorator/decorator-&decorator-version;.tar.gz">
|
---|
| 8 | <!ENTITY decorator-download-ftp " ">
|
---|
[5f364f3] | 9 | <!ENTITY decorator-md5sum "a90526e45e7a30cf2710d6467f403e03">
|
---|
[14c0be2f] | 10 | <!ENTITY decorator-size "36 KB">
|
---|
[71e5226] | 11 | <!ENTITY decorator-buildsize "232 KB">
|
---|
[3727a4c] | 12 | <!ENTITY decorator-time "less than 0.1 SBU">
|
---|
[14c0be2f] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <!-- Begin decorator -->
|
---|
| 16 | <sect2 id="decorator" xreflabel="decorator-&decorator-version;">
|
---|
| 17 | <title>decorator-&decorator-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="decorator">
|
---|
| 20 | <primary sortas="a-decorator">decorator</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect3 role="package">
|
---|
| 24 | <title>Introduction to decorator Module</title>
|
---|
| 25 |
|
---|
| 26 | <para>
|
---|
| 27 | The goal of the <application>decorator</application> module is to make
|
---|
| 28 | it easy to define signature-preserving function decorators and
|
---|
| 29 | decorator factories.
|
---|
| 30 | </para>
|
---|
| 31 |
|
---|
[20a35ab] | 32 | &lfs110a_checked;
|
---|
[14c0be2f] | 33 |
|
---|
| 34 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 35 | <itemizedlist spacing="compact">
|
---|
| 36 | <listitem>
|
---|
| 37 | <para>
|
---|
| 38 | Download (HTTP): <ulink url="&decorator-download-http;"/>
|
---|
| 39 | </para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (FTP): <ulink url="&decorator-download-ftp;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download MD5 sum: &decorator-md5sum;
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download size: &decorator-size;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Estimated disk space required: &decorator-buildsize;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated build time: &decorator-time;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 |
|
---|
| 68 | <para condition="html" role="usernotes">User Notes:
|
---|
| 69 | <ulink url="&blfs-wiki;/decorator"/>
|
---|
| 70 | </para>
|
---|
| 71 | </sect3>
|
---|
| 72 |
|
---|
| 73 | <sect3 role="installation">
|
---|
| 74 | <title>Installation of decorator</title>
|
---|
| 75 |
|
---|
[de33b2a] | 76 | <para>
|
---|
| 77 | Install <application>decorator</application> with the following
|
---|
| 78 | commands:
|
---|
| 79 | </para>
|
---|
[14c0be2f] | 80 |
|
---|
| 81 | <screen><userinput>python3 setup.py build</userinput></screen>
|
---|
| 82 |
|
---|
| 83 | <para>
|
---|
| 84 | This package does not come with a test suite.
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
| 87 | <para>
|
---|
| 88 | To install the decorator package with the following command as the
|
---|
| 89 | <systemitem class="username">root</systemitem> user:
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
|
---|
| 93 |
|
---|
| 94 | </sect3>
|
---|
| 95 |
|
---|
| 96 | <sect3 role="content">
|
---|
| 97 | <title>Contents</title>
|
---|
| 98 |
|
---|
| 99 | <segmentedlist>
|
---|
| 100 | <segtitle>Installed Programs</segtitle>
|
---|
| 101 | <segtitle>Installed Libraries</segtitle>
|
---|
| 102 | <segtitle>Installed Directories</segtitle>
|
---|
| 103 |
|
---|
| 104 | <seglistitem>
|
---|
| 105 | <seg>
|
---|
| 106 | None
|
---|
| 107 | </seg>
|
---|
| 108 | <seg>
|
---|
[0f870c5] | 109 | /usr/lib/python&python3-majorver;/site-packages/decorator-&decorator-version;-py&python3-majorver;.egg-info
|
---|
[14c0be2f] | 110 | </seg>
|
---|
| 111 | <seg>
|
---|
[0f870c5] | 112 | None
|
---|
[14c0be2f] | 113 | </seg>
|
---|
| 114 | </seglistitem>
|
---|
| 115 | </segmentedlist>
|
---|
| 116 |
|
---|
| 117 | </sect3>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|