Ignore:
Timestamp:
04/18/2022 04:08:16 AM (2 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
813ab55, ee16e55
Parents:
5a2aca5
Message:

Use pip3 to install Python modules and programs
meson, Markupsafe, and Jinja2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/markupsafe.xml

    r5a2aca5 r97497444  
    4343    <para>Compile MarkupSafe with the following command:</para>
    4444
    45 <screen><userinput remap="make">python3 setup.py build</userinput></screen>
     45<screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
    4646
    4747    <para>This package does not come with a test suite.</para>
     
    4949    <para>Install the package:</para>
    5050
    51 <screen><userinput remap="install">python3 setup.py install --optimize=1</userinput></screen>
     51<screen><userinput remap="install">pip3 install --no-index --find-links dist Markupsafe</userinput></screen>
    5252
    5353  </sect2>
     
    6060
    6161      <seglistitem>
    62         <!-- Suffix "-linux-<arch>" is different from meson and jinja:
    63              This package contains binary code (compiled from C), but meson
    64              and jinja only contain Python code.  -->
    65         <seg>/usr/lib/python&python-minor;/site-packages/MarkupSafe-&markupsafe-version;-py&python-minor;-linux-<replaceable>&lt;arch&gt;</replaceable>.egg</seg>
     62        <seg>
     63           /usr/lib/python&python-minor;/site-packages/MarkupSafe-&markupsafe-version;.dist-info
     64        </seg>
    6665      </seglistitem>
    6766    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.