Remove python2 instructions for PyYAML

This commit is contained in:
Pierre Labastie 2021-08-22 07:07:53 +02:00
parent 890456ea00
commit 1ba50fed2b

View File

@ -84,33 +84,19 @@
<sect3 role="installation">
<title>Installation of PyYAML</title>
<note>
<para>
Both <application>Python 2</application> and
<application>Python 3</application> modules can
be built and installed without any conflicts.
</para>
</note>
<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
<para>
To build both <application>Python 2</application> and
<application>Python 3</application> modules,
run the following commands:
Install PyYAML 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:
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<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>