Changeset b9a4450
- Timestamp:
- 04/21/2022 01:13:36 AM (2 years ago)
- Branches:
- 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/soup3, xry111/xf86-video-removal
- Children:
- 3f04503
- Parents:
- e7d47128
- Location:
- general/prog
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/scour.xml
re7d47128 rb9a4450 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> … … 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. --> 84 <para>When building, the procedure thinks that that the current version of 85 <xref linkend="six"/> is less than six-1.9. Fix that with:</para> 86 87 <screen><userinput>sed -i '/requires/s/9/10/' setup.py</userinput></screen> 88 93 89 <para> 94 To build the <application>Python 3</application> module 95 run the following commands: 90 Build the module: 96 91 </para> 97 92 98 <screen><userinput>p ython3 setup.py build</userinput></screen>93 <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 99 94 100 95 <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>. 96 To install the module, run the following command as the &root; user: 104 97 </para> 105 98 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> 99 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir scour</userinput></screen> 112 100 113 101 </sect3> 102 103 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 104 href="../../xincludes/pip3-cmd-explain.xml"/> 114 105 115 106 <sect3 role="content"> … … 129 120 </seg> 130 121 <seg> 131 None 122 /usr/lib/python3.10/site-packages/scour and 123 /usr/lib/python3.10/site-packages/scour-&scour-version;.dist-info 132 124 </seg> 133 125 </seglistitem> -
general/prog/six.xml
re7d47128 rb9a4450 138 138 </seg> 139 139 <seg> 140 None 141 <!-- /usr/lib/python&python2-majorver;/site-packages/six-&six-version;-py&python2-majorver;.egg and/or 142 /usr/lib/python&python3-majorver;/site-packages/six-&six-version;-py&python3-majorver;.egg--> 140 /usr/lib/python&python3-majorver;/site-packages/six-&six-version;.dist-info 143 141 </seg> 144 142 </seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.