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:
Pierre Labastie 2020-12-16 17:52:41 +00:00
parent 4c849ed204
commit 179e019592

View File

@ -73,29 +73,19 @@
<sect3 role="installation">
<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>
To build both Python 2 and Python 3 modules, run the following commands:
Install <application>MarkupSafe</application> with the following
commands:
</para>
<screen><userinput>python2 setup.py build &amp;&amp;
python3 setup.py build</userinput></screen>
<screen><userinput>python3 setup.py build</userinput></screen>
<para>
To install both modules, run the following commands as the
<systemitem class="username">root</systemitem> user:
Then, as the <systemitem class="username">root</systemitem> user:
</para>
<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
<screen role="root"><userinput>python2 setup.py install --optimize=1 &amp;&amp;
python3 setup.py install --optimize=1</userinput></screen>
<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
</sect3>