[22f9c48] | 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 Beaker-download-http
|
---|
| 8 | "https://pypi.python.org/packages/source/B/Beaker/Beaker-&Beaker-version;.tar.gz">
|
---|
| 9 | <!ENTITY Beaker-download-ftp " ">
|
---|
[bc4bab58] | 10 | <!ENTITY Beaker-md5sum "24ba6056b69312ac21f80124cc18cd75">
|
---|
[22f9c48] | 11 | <!ENTITY Beaker-size "36 KB">
|
---|
[bc4bab58] | 12 | <!ENTITY Beaker-buildsize "1.6 MB">
|
---|
[22f9c48] | 13 | <!ENTITY Beaker-time "less than 0.1 SBU">
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <!-- Begin Beaker -->
|
---|
| 17 | <sect2 id="Beaker" xreflabel="Beaker-&Beaker-version;" revision="systemd">
|
---|
| 18 |
|
---|
| 19 | <title>Beaker-&Beaker-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="Beaker">
|
---|
| 22 | <primary sortas="a-Beaker">Beaker</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect3 role="package">
|
---|
| 26 | <title>Introduction to Beaker Module</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | <application>Beaker</application> is a <application>Python</application>
|
---|
| 30 | module that implements caching and sessions WSGI middleware for use with
|
---|
| 31 | web applications and stand-alone Python scripts and applications.
|
---|
| 32 | </para>
|
---|
| 33 |
|
---|
[36de390] | 34 | &lfs7a_checked;
|
---|
| 35 |
|
---|
[22f9c48] | 36 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&Beaker-download-http;"/>
|
---|
| 41 | </para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&Beaker-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download MD5 sum: &Beaker-md5sum;
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download size: &Beaker-size;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Estimated disk space required: &Beaker-buildsize;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated build time: &Beaker-time;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect4">Beaker Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 73 | <para role="required">
|
---|
| 74 | <xref linkend="setuptools"/>
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <para condition="html" role="usernotes">
|
---|
| 78 | User Notes: <ulink url="&blfs-wiki;/Beaker"/>
|
---|
| 79 | </para>
|
---|
| 80 | </sect3>
|
---|
| 81 |
|
---|
| 82 | <sect3 role="installation">
|
---|
| 83 | <title>Installation of Beaker</title>
|
---|
| 84 |
|
---|
| 85 | <note>
|
---|
| 86 | <para>
|
---|
| 87 | Both <application>Python 2</application> and
|
---|
| 88 | <application>Python 3</application> modules can
|
---|
| 89 | be built and installed without any conflicts.
|
---|
| 90 | </para>
|
---|
| 91 | </note>
|
---|
| 92 |
|
---|
[0797528] | 93 | <!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
|
---|
| 94 |
|
---|
[22f9c48] | 95 | <para>
|
---|
| 96 | To install the <application>Python 2</application> module,
|
---|
| 97 | run the following command as the
|
---|
| 98 | <systemitem class="username">root</systemitem> user:
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | To install the <application>Python 3</application> module,
|
---|
| 105 | run the following command as the
|
---|
| 106 | <systemitem class="username">root</systemitem> user:
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | </sect3>
|
---|
| 112 |
|
---|
| 113 | <sect3 role="content">
|
---|
| 114 | <title>Contents</title>
|
---|
| 115 |
|
---|
| 116 | <segmentedlist>
|
---|
| 117 | <segtitle>Installed Programs</segtitle>
|
---|
| 118 | <segtitle>Installed Libraries</segtitle>
|
---|
| 119 | <segtitle>Installed Directories</segtitle>
|
---|
| 120 |
|
---|
| 121 | <seglistitem>
|
---|
| 122 | <seg>
|
---|
| 123 | None
|
---|
| 124 | </seg>
|
---|
| 125 | <seg>
|
---|
| 126 | None
|
---|
| 127 | </seg>
|
---|
| 128 | <seg>
|
---|
| 129 | /usr/lib/python&python2-majorver;/site-packages/beaker,
|
---|
| 130 | /usr/lib/python&python2-majorver;/site-packages/Beaker-&Beaker-version;-py&python2-majorver;.egg-info and/or
|
---|
| 131 | /usr/lib/python&python3-majorver;/site-packages/beaker,
|
---|
| 132 | /usr/lib/python&python3-majorver;/site-packages/Beaker-&Beaker-version;-py&python3-majorver;.egg-info
|
---|
| 133 | </seg>
|
---|
| 134 | </seglistitem>
|
---|
| 135 | </segmentedlist>
|
---|
| 136 |
|
---|
| 137 | </sect3>
|
---|
| 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 | <!--End Beaker -->
|
---|