mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +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">
|
||||
<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 &&
|
||||
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 &&
|
||||
python3 setup.py install --optimize=1</userinput></screen>
|
||||
<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
|
||||
|
||||
</sect3>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user