Ignore:
Timestamp:
01/12/2019 09:06:52 PM (5 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.4, 9.0, 9.1, bdubbs/svn, 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, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
9787b95
Parents:
f0cc8f73
Message:

Make coherent dependencies for Python Modules, see ticket #11425

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20966 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/scour.xml

    rf0cc8f73 rf6ee672  
    9797      <title>Installation of scour</title>
    9898
     99
    99100      <note>
    100101        <para>
    101           Although this package installs modules for <application>Python
    102           2</application> <emphasis>or</emphasis> <application>Python
    103           3</application> they are usually invoked by <command>scour</command>
    104           which is a script using the version of
    105           <application>Python</application> for which it was compiled.
    106         </para>
    107 
    108         <para>
    109           For the moment, use of <application>Python 2</application> will
    110           normally be adequate.
     102          Both <application>Python 2</application> and
     103          <application>Python 3</application> modules can
     104          be built and installed without any conflicts.
    111105        </para>
    112106      </note>
    113107
    114 <!-- Editors note: Use \-\-root= instead of DESTDIR= when updating. -->
     108<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
    115109
    116110      <para>
    117         To build the <application>Python 2</application> module, issue:
     111        To build the <application>Python 2</application> module,
     112        run the following command:
    118113      </para>
    119114
     
    134129<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
    135130
    136       <note>
    137         <para>
    138           If you wish to install the <application>Python 3</application>
    139           modules, change 'python' to 'python3' in each of the above steps.
    140         </para>
    141       </note>
     131      <para>
     132        To build the <application>Python 3</application> module,
     133        run the following command:
     134      </para>
     135
     136<screen><userinput>python3 setup.py build</userinput></screen>
     137
     138      <para>
     139        To install the <application>Python 3</application> module,
     140        run the following command as the
     141        <systemitem class="username">root</systemitem> user:
     142      </para>
     143
     144<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
    142145
    143146    </sect3>
Note: See TracChangeset for help on using the changeset viewer.