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