source: general/prog/markupsafe.xml@ 0797528

10.0 10.1 11.0 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus nosym perl-modules qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 0797528 was 0797528, checked in by Douglas R. Reno <renodr@…>, 5 years ago

Update to glib-2.50.0
Update to gobject-introspection-1.50.0
Update to gsettings-desktop-schemas-3.22.0
Update to pygobject-3.22.0
Update to setuptools-27.2.0
Update to vala-0.34.0
Add a comment to several python modules about DESTDIR installs

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

  • Property mode set to 100644
File size: 4.6 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 MarkupSafe-download-http
8 "https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-&MarkupSafe-version;.tar.gz">
9 <!ENTITY MarkupSafe-download-ftp " ">
10 <!ENTITY MarkupSafe-md5sum "f5ab3deee4c37cd6a922fb81e730da6e">
11 <!ENTITY MarkupSafe-size "16 KB">
12 <!ENTITY MarkupSafe-buildsize "780 KB">
13 <!ENTITY MarkupSafe-time "less than 0.1 SBU">
14]>
15
16 <!-- Begin MarkupSafe -->
17 <sect2 id="MarkupSafe" xreflabel="MarkupSafe-&MarkupSafe-version;" revision="systemd">
18
19 <title>MarkupSafe-&MarkupSafe-version;</title>
20
21 <indexterm zone="MarkupSafe">
22 <primary sortas="a-MarkupSafe">MarkupSafe</primary>
23 </indexterm>
24
25 <sect3 role="package">
26 <title>Introduction to MarkupSafe Module</title>
27
28 <para>
29 <application>MarkupSafe</application> is a <application>Python</application>
30 module that implements a XML/HTML/XHTML Markup safe string.
31 </para>
32
33 &lfs7a_checked;
34
35 <bridgehead renderas="sect4">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&MarkupSafe-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&MarkupSafe-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &MarkupSafe-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &MarkupSafe-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &MarkupSafe-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &MarkupSafe-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect4">MarkupSafe Dependencies</bridgehead>
70
71 <bridgehead renderas="sect5">Required</bridgehead>
72 <para role="required">
73 <xref linkend="setuptools"/>
74 </para>
75
76 <para condition="html" role="usernotes">
77 User Notes: <ulink url="&blfs-wiki;/MarkupSafe"/>
78 </para>
79 </sect3>
80
81 <sect3 role="installation">
82 <title>Installation of MarkupSafe</title>
83
84 <note>
85 <para>
86 Both <application>Python 2</application> and
87 <application>Python 3</application> modules can
88 be built and installed without any conflicts.
89 </para>
90 </note>
91
92<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
93
94 <para>
95 To build the <application>Python 2</application> module,
96 run the following command:
97 </para>
98
99<screen><userinput>python setup.py build</userinput></screen>
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 build the <application>Python 3</application> module,
111 run the following command:
112 </para>
113
114<screen><userinput>python3 setup.py build</userinput></screen>
115
116 <para>
117 To install the <application>Python 3</application> module,
118 run the following command as the
119 <systemitem class="username">root</systemitem> user:
120 </para>
121
122<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
123
124 </sect3>
125
126 <sect3 role="content">
127 <title>Contents</title>
128
129 <segmentedlist>
130 <segtitle>Installed Programs</segtitle>
131 <segtitle>Installed Libraries</segtitle>
132 <segtitle>Installed Directories</segtitle>
133
134 <seglistitem>
135 <seg>
136 None
137 </seg>
138 <seg>
139 None
140 </seg>
141 <seg>
142 /usr/lib/python&python2-majorver;/site-packages/markupsafe,
143 /usr/lib/python&python2-majorver;/site-packages/MarkupSafe-&MarkupSafe-version;-py&python2-majorver;.egg-info and/or
144 /usr/lib/python&python3-majorver;/site-packages/markupsafe,
145 /usr/lib/python&python3-majorver;/site-packages/MarkupSafe-&MarkupSafe-version;-py&python3-majorver;.egg-info
146 </seg>
147 </seglistitem>
148 </segmentedlist>
149
150 </sect3>
151
152 </sect2>
153 <!--End MarkupSafe -->
Note: See TracBrowser for help on using the repository browser.