aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/jinja2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/jinja2.xml')
-rw-r--r--chapter08/jinja2.xml12
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>