Changes in general/prog/scour.xml [20a35ab:ec288f7]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/scour.xml
r20a35ab rec288f7 23 23 24 24 <sect3 role="package"> 25 <title>Introduction to Scour </title>25 <title>Introduction to Scour Module</title> 26 26 27 27 <para> … … 31 31 </para> 32 32 33 &lfs11 0a_checked;33 &lfs112_checked; 34 34 35 35 <bridgehead renderas="sect4">Package Information</bridgehead> … … 71 71 <bridgehead renderas="sect5">Required</bridgehead> 72 72 <para role="required"> 73 <xref linkend="six"/> (will be automatically downloaded and installed 74 if not already present) 73 <xref linkend="six"/> 75 74 </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 84 76 <para condition="html" role="usernotes"> 85 77 User Notes: <ulink url="&blfs-wiki;/scour"/> … … 90 82 <title>Installation of scour</title> 91 83 92 <!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->93 84 <para> 94 To build the <application>Python 3</application> module 95 run the following commands: 85 Build the module: 96 86 </para> 97 87 98 <screen><userinput>p ython3 setup.py build</userinput></screen>88 <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 99 89 100 90 <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: 104 92 </para> 105 93 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> 112 95 113 96 </sect3> 97 98 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 99 href="../../xincludes/pip3-cmd-explain.xml"/> 114 100 115 101 <sect3 role="content"> … … 129 115 </seg> 130 116 <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 132 119 </seg> 133 120 </seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.