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/jinja2.xml | |
parent | 5a2aca56267b238d44b538bd3e5d71d86e1335b3 (diff) |
Use pip3 to install Python modules and programs
meson, Markupsafe, and Jinja2
Diffstat (limited to 'chapter08/jinja2.xml')
-rw-r--r-- | chapter08/jinja2.xml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/chapter08/jinja2.xml b/chapter08/jinja2.xml index 3ac2bdb41..6548dff8b 100644 --- a/chapter08/jinja2.xml +++ b/chapter08/jinja2.xml @@ -40,9 +40,13 @@ <sect2 role="installation"> <title>Installation of Jinja2</title> + <para>Build the package:</para> + +<screen><userinput remap="install">pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> + <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 Jinja2</userinput></screen> </sect2> @@ -50,10 +54,12 @@ <title>Contents of Jinja2</title> <segmentedlist> - <segtitle>Installed directories</segtitle> + <segtitle>Installed directory</segtitle> <seglistitem> - <seg>/usr/lib/python&python-minor;/site-packages/Jinja2-&jinja2-version;-py&python-minor;.egg</seg> + <seg> + /usr/lib/python&python-minor;/site-packages/Jinja2-&jinja2-version;.dist-info + </seg> </seglistitem> </segmentedlist> |