source: general/prog/beaker.xml@ 879932f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 879932f was 879932f, checked in by Douglas R. Reno <renodr@…>, 7 years ago

Archive setuptools
Modify Python instructions to add setuptools and pip as part of the installation
Tags for the Python section + a few others

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18316 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.4 KB
Line 
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/fe/41/b778351220614d743ffbfac01939db1c172181907e9b42b7c07bfb2002da/Beaker-&Beaker-version;.tar.gz">
9 <!ENTITY Beaker-download-ftp " ">
10 <!ENTITY Beaker-md5sum "05a8e74d2fa2f349fcd424baf5bc7774">
11 <!ENTITY Beaker-size "40 KB">
12 <!ENTITY Beaker-buildsize "2.3 MB">
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
34 &lfs80_checked;
35
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<!-- OBSOLETE
72 <bridgehead renderas="sect5">Required</bridgehead>
73 <para role="required">
74 <xref linkend="setuptools"/>
75 </para>
76-->
77
78 <bridgehead renderas="sect5">Optional</bridgehead>
79 <para role="optional">
80 <xref linkend="funcsigs"/> (required for Python-2.7)
81 </para>
82
83 <para condition="html" role="usernotes">
84 User Notes: <ulink url="&blfs-wiki;/Beaker"/>
85 </para>
86 </sect3>
87
88 <sect3 role="installation">
89 <title>Installation of Beaker</title>
90
91 <note>
92 <para>
93 Both <application>Python 2</application> and
94 <application>Python 3</application> modules can
95 be built and installed without any conflicts.
96 </para>
97 </note>
98
99<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
100
101 <para>
102 To install the <application>Python 2</application> module,
103 run the following command as the
104 <systemitem class="username">root</systemitem> user:
105 </para>
106
107<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
108
109 <para>
110 To install the <application>Python 3</application> module,
111 run the following command as the
112 <systemitem class="username">root</systemitem> user:
113 </para>
114
115<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
116
117 </sect3>
118
119 <sect3 role="content">
120 <title>Contents</title>
121
122 <segmentedlist>
123 <segtitle>Installed Programs</segtitle>
124 <segtitle>Installed Libraries</segtitle>
125 <segtitle>Installed Directories</segtitle>
126
127 <seglistitem>
128 <seg>
129 None
130 </seg>
131 <seg>
132 None
133 </seg>
134 <seg>
135 /usr/lib/python&python2-majorver;/site-packages/beaker,
136 /usr/lib/python&python2-majorver;/site-packages/Beaker-&Beaker-version;-py&python2-majorver;.egg-info and/or
137 /usr/lib/python&python3-majorver;/site-packages/beaker,
138 /usr/lib/python&python3-majorver;/site-packages/Beaker-&Beaker-version;-py&python3-majorver;.egg-info
139 </seg>
140 </seglistitem>
141 </segmentedlist>
142
143 </sect3>
144
145 </sect2>
146 <!--End Beaker -->
Note: See TracBrowser for help on using the repository browser.