Changeset 97497444
- Timestamp:
- 04/18/2022 04:08:16 AM (2 years ago)
- 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
- Location:
- chapter08
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/jinja2.xml
r5a2aca5 r97497444 41 41 <title>Installation of Jinja2</title> 42 42 43 <para>Build the package:</para> 44 45 <screen><userinput remap="install">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 46 43 47 <para>Install the package:</para> 44 48 45 <screen><userinput remap="install">p ython3 setup.py install --optimize=1</userinput></screen>49 <screen><userinput remap="install">pip3 install --no-index --find-links dist Jinja2</userinput></screen> 46 50 47 51 </sect2> … … 51 55 52 56 <segmentedlist> 53 <segtitle>Installed director ies</segtitle>57 <segtitle>Installed directory</segtitle> 54 58 55 59 <seglistitem> 56 <seg>/usr/lib/python&python-minor;/site-packages/Jinja2-&jinja2-version;-py&python-minor;.egg</seg> 60 <seg> 61 /usr/lib/python&python-minor;/site-packages/Jinja2-&jinja2-version;.dist-info 62 </seg> 57 63 </seglistitem> 58 64 </segmentedlist> -
chapter08/markupsafe.xml
r5a2aca5 r97497444 43 43 <para>Compile MarkupSafe with the following command:</para> 44 44 45 <screen><userinput remap="make">p ython3 setup.py build</userinput></screen>45 <screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 46 46 47 47 <para>This package does not come with a test suite.</para> … … 49 49 <para>Install the package:</para> 50 50 51 <screen><userinput remap="install">p ython3 setup.py install --optimize=1</userinput></screen>51 <screen><userinput remap="install">pip3 install --no-index --find-links dist Markupsafe</userinput></screen> 52 52 53 53 </sect2> … … 60 60 61 61 <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><arch></replaceable>.egg</seg> 62 <seg> 63 /usr/lib/python&python-minor;/site-packages/MarkupSafe-&markupsafe-version;.dist-info 64 </seg> 66 65 </seglistitem> 67 66 </segmentedlist> -
chapter08/meson.xml
r5a2aca5 r97497444 55 55 <para>Compile Meson with the following command:</para> 56 56 57 <screen><userinput remap="make">p ython3 setup.py build</userinput></screen>57 <screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 58 58 59 59 <para>The test suite requires some packages out of the scope of LFS.</para> … … 61 61 <para>Install the package:</para> 62 62 63 <screen><userinput remap="install">python3 setup.py install --root=dest 64 cp -rv dest/* / 63 <screen><userinput remap="install">pip3 install --no-index --find-links dist meson 65 64 install -vDm644 data/shell-completions/bash/meson /usr/share/bash-completion/completions/meson 66 65 install -vDm644 data/shell-completions/zsh/_meson /usr/share/zsh/site-functions/_meson</userinput></screen> … … 70 69 71 70 <varlistentry> 72 <term><parameter>- -root=dest</parameter></term>71 <term><parameter>-w dist</parameter></term> 73 72 <listitem> 74 <para>By default <command>python3 setup.py install</command> 75 installs various files (such as man pages) into Python Eggs. 76 With a specified root location, <command>setup.py</command> installs 77 these files into a standard hierarchy. Then the hierarchy 78 can just be copied to the standard location. 79 </para> 73 <para>Put the created wheels into the `dist` directory.</para> 74 </listitem> 75 </varlistentry> 76 77 <varlistentry> 78 <term><parameter>--find-links dist</parameter></term> 79 <listitem> 80 <para>Install wheels from the 'dist' directory.</para> 80 81 </listitem> 81 82 </varlistentry> … … 93 94 <seglistitem> 94 95 <seg>meson</seg> 95 < !-- We are using DESTDIR installation here, so the directory layout96 is different than other Python modules in LFS97 (Jinja2 & MarkupSafe). -->98 < seg>/usr/lib/python&python-minor;/site-packages/meson-&meson-version;-py&python-minor;.egg-info and /usr/lib/python&python-minor;/site-packages/mesonbuild</seg>96 <seg> 97 /usr/lib/python&python-minor;/site-packages/meson-&meson-version;.dist-info and 98 /usr/lib/python&python-minor;/site-packages/mesonbuild 99 </seg> 99 100 </seglistitem> 100 101 </segmentedlist>
Note:
See TracChangeset
for help on using the changeset viewer.