Changeset fa411f6e


Ignore:
Timestamp:
07/02/2022 02:03:20 AM (22 months ago)
Author:
Bruce Dubbs <bdubbs@…>
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:
b299976
Parents:
2325522d
Message:

larify pip3 install options.

In some cases --upgrade or --force-reinstall is needed when installing
a python module. Add some notes describing these options.

If one of the above options is used, --no-deps may be needed to avoid
reinstalling package dependencies. Note this option also.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/prog/mako.xml

    r2325522d rfa411f6e  
    8181    <sect3 role="installation">
    8282      <title>Installation of Mako</title>
    83 <!--
     83
    8484      <para>
    8585        Build the module:
     
    8787
    8888<screen><userinput>pip3 wheel -w dist - -no-build-isolation - -no-deps $PWD</userinput></screen>
    89 -->
     89
    9090      <para>
    9191        Install the module as the &root; user:
    9292      </para>
    93 <!--
     93
    9494<screen role="root"><userinput>pip3 install - -no-index - -find-links dist - -no-cache-dir Mako</userinput></screen>
    95 -->
    96 <screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
     95
    9796    </sect3>
    98 <!--
     97
    9998    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    10099      href="../../xincludes/pip3-cmd-explain.xml"/>
    101 -->
     100
    102101    <sect3 role="content">
    103102      <title>Contents</title>
  • xincludes/pip3-cmd-explain.xml

    r2325522d rfa411f6e  
    4242    </para>
    4343
     44    <para>
     45      <option>--upgrade</option>: Upgrade the package to the newest
     46       available version.  This option is used with the install command
     47       if a version of the package is already installed.
     48    </para>
     49
     50    <para>
     51      <option>--force-reinstall</option>: Reinstall the package even if
     52      it is up-to-date. This option is used with the install command
     53      if reinstalling the package or reverting to an earlier version
     54      of the package.
     55    </para>
     56
     57    <para>
     58      <option>--no-deps</option>: Do not install package dependencies.
     59      This option may be needed with the --upgrade or --force-reinstall
     60      options.
     61    </para>
     62
    4463  </sect3>
    4564
Note: See TracChangeset for help on using the changeset viewer.