mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
Do not build MarkupSafe for python2, it is not needed for the book
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23989 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
4c849ed204
commit
179e019592
@ -73,29 +73,19 @@
|
|||||||
<sect3 role="installation">
|
<sect3 role="installation">
|
||||||
<title>Installation of MarkupSafe</title>
|
<title>Installation of MarkupSafe</title>
|
||||||
|
|
||||||
<note>
|
|
||||||
<para>
|
|
||||||
Both <application>Python 2</application> and
|
|
||||||
<application>Python 3</application> modules can
|
|
||||||
be built and installed without any conflicts.
|
|
||||||
</para>
|
|
||||||
</note>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
To build both Python 2 and Python 3 modules, run the following commands:
|
Install <application>MarkupSafe</application> with the following
|
||||||
|
commands:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen><userinput>python2 setup.py build &&
|
<screen><userinput>python3 setup.py build</userinput></screen>
|
||||||
python3 setup.py build</userinput></screen>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
To install both modules, run the following commands as the
|
Then, as the <systemitem class="username">root</systemitem> user:
|
||||||
<systemitem class="username">root</systemitem> user:
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
|
<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
|
||||||
<screen role="root"><userinput>python2 setup.py install --optimize=1 &&
|
<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
|
||||||
python3 setup.py install --optimize=1</userinput></screen>
|
|
||||||
|
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user