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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>
Note: See TracChangeset for help on using the changeset viewer.