diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2022-04-17 23:08:16 -0500 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2022-04-17 23:08:16 -0500 |
commit | 9749744481352f1d1fdc62a6a3275496b3deb6e6 (patch) | |
tree | 357804b8cf4c0c25d295fa043624075ae307fcd5 /chapter08/markupsafe.xml | |
parent | 5a2aca56267b238d44b538bd3e5d71d86e1335b3 (diff) |
Use pip3 to install Python modules and programs
meson, Markupsafe, and Jinja2
Diffstat (limited to 'chapter08/markupsafe.xml')
-rw-r--r-- | chapter08/markupsafe.xml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/chapter08/markupsafe.xml b/chapter08/markupsafe.xml index 32aa9e8b5..322ec2730 100644 --- a/chapter08/markupsafe.xml +++ b/chapter08/markupsafe.xml @@ -42,13 +42,13 @@ <para>Compile MarkupSafe with the following command:</para> -<screen><userinput remap="make">python3 setup.py build</userinput></screen> +<screen><userinput remap="make">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> <para>This package does not come with a test suite.</para> <para>Install the package:</para> -<screen><userinput remap="install">python3 setup.py install --optimize=1</userinput></screen> +<screen><userinput remap="install">pip3 install --no-index --find-links dist Markupsafe</userinput></screen> </sect2> @@ -59,10 +59,9 @@ <segtitle>Installed directory</segtitle> <seglistitem> - <!-- Suffix "-linux-<arch>" is different from meson and jinja: - This package contains binary code (compiled from C), but meson - and jinja only contain Python code. --> - <seg>/usr/lib/python&python-minor;/site-packages/MarkupSafe-&markupsafe-version;-py&python-minor;-linux-<replaceable><arch></replaceable>.egg</seg> + <seg> + /usr/lib/python&python-minor;/site-packages/MarkupSafe-&markupsafe-version;.dist-info + </seg> </seglistitem> </segmentedlist> |