diff options
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> |