Changeset 5ff8c3a


Ignore:
Timestamp:
09/05/2022 09:04:47 PM (20 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
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:
056b5965
Parents:
5b5b1d2
Message:

Add --no-user in Python module installation instructions.

Files:
17 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/brotli.xml

    r5b5b1d2 r5ff8c3a  
    143143
    144144<screen role="root"><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD &amp;&amp;
    145 pip3 install --no-index --find-links dist --no-cache-dir Brotli</userinput></screen>
    146 <!--
    147     <para>
    148       If you have built the <application>python</application> bindings,
    149       install them as the <systemitem class="username">root</systemitem>
    150       user:
    151     </para>
    152 
    153 <screen role="root"><userinput>python3 setup.py install - -optimize=1</userinput></screen>
    154 -->
     145pip3 install --no-index --find-links dist --no-cache-dir --no-user Brotli</userinput></screen>
    155146
    156147  </sect2>
  • general/prog/asciidoc.xml

    r5b5b1d2 r5ff8c3a  
    105105    </para>
    106106
    107 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir asciidoc</userinput></screen>
     107<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user asciidoc</userinput></screen>
    108108
    109109    </sect3>
  • general/prog/dbus-python.xml

    r5b5b1d2 r5ff8c3a  
    102102    <sect3 role="installation">
    103103      <title>Installation of D-Bus Python</title>
    104 <!--
    105       <note>
    106         <para>
    107           Both <application>Python 2</application> and
    108           <application>Python 3</application> modules can
    109           be built and installed without any conflicts.
    110         </para>
    111       </note>
    112104
    113       <para>
    114         To build <application>D-Bus Python</application> as the
    115         <application>Python 2</application> module, run the
    116         following commands:
    117       </para>
    118 
    119 <screen><userinput>mkdir python2 &amp;&amp;
    120 pushd python2 &amp;&amp;
    121 PYTHON=/usr/bin/python2     \
    122 ../configure - -prefix=/usr - -disable-documentation &amp;&amp;
    123 make &amp;&amp;
    124 popd</userinput></screen>
    125 
    126       <para>
    127         To test the results, issue: <command>make -C python2 check</command>.
    128         Several tests report an error due to dbus issues.
    129       </para>
    130 
    131       <para>
    132         To build <application>D-Bus Python</application> as the
    133         <application>Python 3</application> module, run the
    134         following commands:
    135       </para>
    136 -->
    137105      <para>
    138106        To build the <application>Python 3 D-Bus Python</application>
     
    142110<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
    143111
    144 <!--
    145       <para>
    146         To test the results, issue: <command>make -C python3 check</command>.
    147       </para>
    148 
    149       <para>
    150         To install the <application>Python 2</application> module,
    151         run the following command as the
    152         <systemitem class="username">root</systemitem> user:
    153       </para>
    154 
    155 <screen role="root"><userinput>make -C python2 install</userinput></screen>
    156 -->
    157112      <para>
    158113        To install the module, run the following command as the &root; user:
    159114      </para>
    160115
    161 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir dbus-python</userinput></screen>
     116<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user dbus-python</userinput></screen>
    162117
    163118    </sect3>
  • general/prog/docutils.xml

    r5b5b1d2 r5ff8c3a  
    9898      </para>
    9999
    100 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir docutils &amp;&amp;
     100<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user docutils &amp;&amp;
    101101
    102102for f in /usr/bin/rst*.py; do
  • general/prog/jinja2.xml

    r5b5b1d2 r5ff8c3a  
    9797      </para>
    9898
    99 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir Jinja2</userinput></screen>
     99<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user Jinja2</userinput></screen>
    100100
    101101    </sect3>
  • general/prog/lxml.xml

    r5b5b1d2 r5ff8c3a  
    9292      </para>
    9393
    94 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir lxml</userinput></screen>
     94<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user lxml</userinput></screen>
    9595
    9696    </sect3>
  • general/prog/mako.xml

    r5b5b1d2 r5ff8c3a  
    9292      </para>
    9393
    94 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-deps --no-user Mako</userinput></screen>
     94<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user Mako</userinput></screen>
    9595
    9696    </sect3>
  • general/prog/markupsafe.xml

    r5b5b1d2 r5ff8c3a  
    9292      </para>
    9393
    94 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir markupsafe</userinput></screen>
     94<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user markupsafe</userinput></screen>
    9595
    9696    </sect3>
  • general/prog/pycryptodome.xml

    r5b5b1d2 r5ff8c3a  
    8787      </para>
    8888
    89 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir pycryptodome</userinput></screen>
     89<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user pycryptodome</userinput></screen>
    9090
    9191    </sect3>
  • general/prog/pygments.xml

    r5b5b1d2 r5ff8c3a  
    8686      </para>
    8787
    88 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir Pygments</userinput></screen>
     88<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user Pygments</userinput></screen>
    8989
    9090    </sect3>
  • general/prog/python-dbusmock.xml

    r5b5b1d2 r5ff8c3a  
    9191      </para>
    9292
    93 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir python-dbusmock</userinput></screen>
     93<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user python-dbusmock</userinput></screen>
    9494
    9595    </sect3>
  • general/prog/python2.xml

    r5b5b1d2 r5ff8c3a  
    132132  <sect2 role="installation">
    133133    <title>Installation of Python 2</title>
    134 <!--
    135     <caution>
    136       <para>
    137         After installing this package or
    138         updating <application>pip2</application> with the command
    139         <command>pip2 install - -upgrade pip</command>, it will remove
    140         <application>pip3</application> installed in LFS. To reset
    141         <application>pip</application> and <application>pip3</application>,
    142         run, as the <systemitem class="username">root</systemitem> user:
    143       </para>
    144 
    145 <screen role="nodump"><userinput>python3 -m pip install - -force pip</userinput></screen>
    146     </caution>
    147 -->
     134
    148135    <para>
    149136      First, disable the installation of a script that overwrites a more
     
    235222      <command>pip</command> and <command>setuptools</command> packaging programs.
    236223      <command>setuptools</command> is needed for building some Python modules.
    237       This switch is not recommended because this version of Python is being phased out.
     224      This switch is not recommended because this version of Python is no longer
     225      maintained.
    238226    </para>
    239227
  • general/prog/pyxdg.xml

    r5b5b1d2 r5ff8c3a  
    9292       </para>
    9393
    94 <screen role='root'><userinput>pip3 install --no-index --find-links dist --no-cache-dir pyxdg</userinput></screen>
     94<screen role='root'><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user pyxdg</userinput></screen>
    9595
    9696    </sect3>
  • general/prog/scour.xml

    r5b5b1d2 r5ff8c3a  
    9292      </para>
    9393
    94 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir scour</userinput></screen>
     94<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user scour</userinput></screen>
    9595
    9696    </sect3>
  • general/prog/six.xml

    r5b5b1d2 r5ff8c3a  
    115115-->
    116116
    117 <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir six</userinput></screen>
     117<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user six</userinput></screen>
    118118
    119119    </sect3>
  • introduction/welcome/changelog.xml

    r5b5b1d2 r5ff8c3a  
    4343    -->
    4444    <listitem>
     45      <para>September 5th, 2022</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[bdubbs] - Add --no-user in Python module installation instructions. Fixes
     49          <ulink url="&blfs-ticket-root;16965">#16965</ulink>.</para>
     50        </listitem>
     51      </itemizedlist>
     52    </listitem>
     53
     54    <listitem>
    4555      <para>September 4th, 2022</para>
    4656      <itemizedlist>
  • kde/kf5/kf5-frameworks.xml

    r5b5b1d2 r5ff8c3a  
    370370        kapidox)
    371371          # First install some python module dependencies
    372           as_root pip3 install doxypypy doxyqml requests
     372          as_root pip3 --no-user install doxypypy doxyqml requests
    373373
    374374          pip3 wheel -w dist --no-build-isolation --no-deps $PWD
Note: See TracChangeset for help on using the changeset viewer.