Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/scour.xml

    r20a35ab rec288f7  
    2323
    2424    <sect3 role="package">
    25       <title>Introduction to Scour</title>
     25      <title>Introduction to Scour Module</title>
    2626
    2727      <para>
     
    3131      </para>
    3232
    33       &lfs110a_checked;
     33      &lfs112_checked;
    3434
    3535      <bridgehead renderas="sect4">Package Information</bridgehead>
     
    7171      <bridgehead renderas="sect5">Required</bridgehead>
    7272      <para role="required">
    73         <xref linkend="six"/> (will be automatically downloaded and installed
    74         if not already present)
     73        <xref linkend="six"/>
    7574      </para>
    76 <!--
    77       <note>
    78         <para>
    79           Although the download link works fine with wget, in this case downloading
    80           with a browser such as firefox will create scour-038.1.tar.gz.
    81         </para>
    82       </note>
    83 -->
     75
    8476      <para condition="html" role="usernotes">
    8577        User Notes: <ulink url="&blfs-wiki;/scour"/>
     
    9082      <title>Installation of scour</title>
    9183
    92 <!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
    9384      <para>
    94         To build the <application>Python 3</application> module
    95         run the following commands:
     85        Build the module:
    9686      </para>
    9787
    98 <screen><userinput>python3 setup.py build</userinput></screen>
     88<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
    9989
    10090      <para>
    101         To partially test the results, issue: <command>python3 test_css.py</command>.
    102         If you have installed <application>Six</application> you can run the main
    103         tests by issuing: <command>python3 test_scour.py</command>.
     91        To install the module, run the following command as the &root; user:
    10492      </para>
    10593
    106       <para>
    107         To install the module, run the following command as the
    108         <systemitem class="username">root</systemitem> user:
    109       </para>
    110 
    111 <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
     94<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user scour</userinput></screen>
    11295
    11396    </sect3>
     97
     98    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     99      href="../../xincludes/pip3-cmd-explain.xml"/>
    114100
    115101    <sect3 role="content">
     
    129115          </seg>
    130116          <seg>
    131             None
     117            /usr/lib/python&python3-majorver;/site-packages/scour and
     118            /usr/lib/python&python3-majorver;/site-packages/scour-&scour-version;.dist-info
    132119          </seg>
    133120        </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.