2016-06-06 11:35:53 +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 Beaker-download-http
|
2016-12-05 16:56:16 +08:00
|
|
|
"https://pypi.python.org/packages/fe/41/b778351220614d743ffbfac01939db1c172181907e9b42b7c07bfb2002da/Beaker-&Beaker-version;.tar.gz">
|
2016-06-06 11:35:53 +08:00
|
|
|
<!ENTITY Beaker-download-ftp " ">
|
2016-12-05 16:56:16 +08:00
|
|
|
<!ENTITY Beaker-md5sum "05a8e74d2fa2f349fcd424baf5bc7774">
|
|
|
|
<!ENTITY Beaker-size "40 KB">
|
|
|
|
<!ENTITY Beaker-buildsize "2.3 MB">
|
2016-06-06 11:35:53 +08:00
|
|
|
<!ENTITY Beaker-time "less than 0.1 SBU">
|
|
|
|
]>
|
|
|
|
|
|
|
|
<!-- Begin Beaker -->
|
|
|
|
<sect2 id="Beaker" xreflabel="Beaker-&Beaker-version;" revision="systemd">
|
|
|
|
|
|
|
|
<title>Beaker-&Beaker-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="Beaker">
|
|
|
|
<primary sortas="a-Beaker">Beaker</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect3 role="package">
|
|
|
|
<title>Introduction to Beaker Module</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<application>Beaker</application> is a <application>Python</application>
|
|
|
|
module that implements caching and sessions WSGI middleware for use with
|
|
|
|
web applications and stand-alone Python scripts and applications.
|
|
|
|
</para>
|
|
|
|
|
2016-08-28 12:19:37 +08:00
|
|
|
&lfs7a_checked;
|
|
|
|
|
2016-06-06 11:35:53 +08:00
|
|
|
<bridgehead renderas="sect4">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&Beaker-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&Beaker-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &Beaker-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &Beaker-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &Beaker-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &Beaker-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Beaker Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect5">Required</bridgehead>
|
|
|
|
<para role="required">
|
|
|
|
<xref linkend="setuptools"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/Beaker"/>
|
|
|
|
</para>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3 role="installation">
|
|
|
|
<title>Installation of Beaker</title>
|
|
|
|
|
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
Both <application>Python 2</application> and
|
|
|
|
<application>Python 3</application> modules can
|
|
|
|
be built and installed without any conflicts.
|
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
|
2016-09-21 07:16:24 +08:00
|
|
|
<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
|
|
|
|
|
2016-06-06 11:35:53 +08:00
|
|
|
<para>
|
|
|
|
To install the <application>Python 2</application> module,
|
|
|
|
run the following command as the
|
|
|
|
<systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
To install the <application>Python 3</application> module,
|
|
|
|
run 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>
|
|
|
|
None
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
/usr/lib/python&python2-majorver;/site-packages/beaker,
|
|
|
|
/usr/lib/python&python2-majorver;/site-packages/Beaker-&Beaker-version;-py&python2-majorver;.egg-info and/or
|
|
|
|
/usr/lib/python&python3-majorver;/site-packages/beaker,
|
|
|
|
/usr/lib/python&python3-majorver;/site-packages/Beaker-&Beaker-version;-py&python3-majorver;.egg-info
|
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
<!--End Beaker -->
|