mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-05 16:07:23 +08:00
Remove python2 instructions for PyYAML
This commit is contained in:
parent
890456ea00
commit
1ba50fed2b
@ -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 &&
|
||||
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 &&
|
||||
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