Stop hard coding the python version

This commit is contained in:
Bruce Dubbs 2022-11-07 08:58:45 -06:00
parent 4a91abcf1a
commit ec288f7505
5 changed files with 9 additions and 10 deletions

View File

@ -165,7 +165,7 @@ pip3 install --no-index --find-links dist --no-cache-dir --no-user Brotli</useri
</seg>
<seg>
/usr/include/brotli
/usr/lib/python3.10/site-packages/Brotli-&brotli-version;.dist-info
/usr/lib/python&python3-majorver;/site-packages/Brotli-&brotli-version;.dist-info
</seg>
</seglistitem>
</segmentedlist>

View File

@ -111,13 +111,7 @@
<sect2 role="installation">
<title>Installation of libxml2</title>
<!-- No longer needed with 2.10.2.
<para>
First, fix a problem recognizing Python-3.10:
</para>
<screen><userinput>autoreconf -fiv</userinput></screen>
-->
<para>
Install <application>libxml2</application> by running the following
commands:

View File

@ -64,6 +64,11 @@
<xref linkend="swig"/>, and
<xref linkend="graphviz"/> (after swig).
</para>
<para>
The wheel module from LFS will also need to be reinstalled:
<ulink url="https://www.linuxfromscratch.org/lfs/view/development/chapter08/wheel.html"/>.
</para>
</important>
<bridgehead renderas="sect3">Package Information</bridgehead>

View File

@ -95,7 +95,7 @@
python3 setup.py install --prefix=/usr \
--optimize=1 &amp;&amp;
mv -v /usr/lib/python3.10/site-packages/SCons-&scons-version;-py&python3-majorver;.egg/*.1 \
mv -v /usr/lib/python&python3-majorver;/site-packages/SCons-&scons-version;-py&python3-majorver;.egg/*.1 \
/usr/share/man/man1</userinput></screen>
</sect2>

View File

@ -114,8 +114,8 @@
None
</seg>
<seg>
/usr/lib/python3.10/site-packages/scour and
/usr/lib/python3.10/site-packages/scour-&scour-version;.dist-info
/usr/lib/python&python3-majorver;/site-packages/scour and
/usr/lib/python&python3-majorver;/site-packages/scour-&scour-version;.dist-info
</seg>
</seglistitem>
</segmentedlist>