Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/pyyaml.xml

    r20a35ab r5f34cb2  
    55  %general-entities;
    66
    7   <!ENTITY PyYAML-download-http "https://pyyaml.org/download/pyyaml/PyYAML-&PyYAML-version;.tar.gz">
     7  <!ENTITY PyYAML-download-http "http://pyyaml.org/download/pyyaml/PyYAML-&PyYAML-version;.tar.gz">
    88  <!ENTITY PyYAML-download-ftp  " ">
    99  <!ENTITY PyYAML-md5sum        "d3590b85917362e837298e733321962b">
     
    3030      </para>
    3131
    32       &lfs110a_checked;
     32      &lfs10_checked;
    3333
    3434      <bridgehead renderas="sect4">Package Information</bridgehead>
     
    8585    <sect3 role="installation">
    8686      <title>Installation of PyYAML</title>
     87
     88      <note>
     89        <para>
     90          Both <application>Python 2</application> and
     91          <application>Python 3</application> modules can
     92          be built and installed without any conflicts.
     93        </para>
     94      </note>
     95
    8796<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
    8897
    8998      <para>
    90         Install PyYAML with the following commands:
     99        To build both <application>Python 2</application> and
     100        <application>Python 3</application> modules,
     101        run the following commands:
    91102      </para>
    92103
    93 <screen><userinput>python3 setup.py build</userinput></screen>
     104<screen><userinput>python2 setup.py build &amp;&amp;
     105python3 setup.py build</userinput></screen>
    94106
    95107      <para>
    96         Now, as the <systemitem class="username">root</systemitem> user:
     108        To install both modules, run the following commands as the
     109        <systemitem class="username">root</systemitem> user:
    97110      </para>
    98111
    99 <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
     112<screen role="root"><userinput>python2 setup.py install --optimize=1 &amp;&amp;
     113python3 setup.py install --optimize=1</userinput></screen>
    100114
    101115    </sect3>
     
    126140
    127141  </sect2>
     142  <!--End PyYAML -->
Note: See TracChangeset for help on using the changeset viewer.