mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
Update D-Bus Python build instructions
Nothing seems to be using the Python2 dbus-python module, so we can remove it and use the pip3 build/install method for the Python3 module.
This commit is contained in:
parent
04ef4c40b6
commit
97a1efc586
@ -8,8 +8,8 @@
|
||||
<!ENTITY dbus-python-download-ftp " ">
|
||||
<!ENTITY dbus-python-md5sum "468874f3bf61d1b7deac98bbe2cfd8ac">
|
||||
<!ENTITY dbus-python-size "568 KB">
|
||||
<!ENTITY dbus-python-buildsize "10 MB (both versions, with tests)">
|
||||
<!ENTITY dbus-python-time "0.3 SBU (both versions, with tests)">
|
||||
<!ENTITY dbus-python-buildsize "7.8 MB" >
|
||||
<!ENTITY dbus-python-time "0.1 SBU">
|
||||
]>
|
||||
|
||||
<!-- Begin D-Bus Python -->
|
||||
@ -72,13 +72,13 @@
|
||||
<xref linkend="dbus"/> and
|
||||
<xref linkend="glib2"/>
|
||||
</para>
|
||||
|
||||
<!--
|
||||
<bridgehead renderas="sect5">Recommended</bridgehead>
|
||||
<para role="recommended">
|
||||
<xref linkend="python2"/> (some applications in the book require
|
||||
the Python 2 module)
|
||||
</para>
|
||||
|
||||
-->
|
||||
<bridgehead renderas="sect5">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="pygobject3"/> and
|
||||
@ -101,7 +101,7 @@
|
||||
|
||||
<sect3 role="installation">
|
||||
<title>Installation of D-Bus Python</title>
|
||||
|
||||
<!--
|
||||
<note>
|
||||
<para>
|
||||
Both <application>Python 2</application> and
|
||||
@ -119,7 +119,7 @@
|
||||
<screen><userinput>mkdir python2 &&
|
||||
pushd python2 &&
|
||||
PYTHON=/usr/bin/python2 \
|
||||
../configure --prefix=/usr --disable-documentation &&
|
||||
../configure - -prefix=/usr - -disable-documentation &&
|
||||
make &&
|
||||
popd</userinput></screen>
|
||||
|
||||
@ -133,14 +133,15 @@ popd</userinput></screen>
|
||||
<application>Python 3</application> module, run the
|
||||
following commands:
|
||||
</para>
|
||||
-->
|
||||
<para>
|
||||
To build the <application>Python 3 D-Bus Python</application>
|
||||
module, run the following command:
|
||||
</para>
|
||||
|
||||
<screen><userinput>mkdir python3 &&
|
||||
pushd python3 &&
|
||||
PYTHON=/usr/bin/python3 \
|
||||
../configure --prefix=/usr --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &&
|
||||
make &&
|
||||
popd</userinput></screen>
|
||||
<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
|
||||
|
||||
<!--
|
||||
<para>
|
||||
To test the results, issue: <command>make -C python3 check</command>.
|
||||
</para>
|
||||
@ -152,14 +153,12 @@ popd</userinput></screen>
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make -C python2 install</userinput></screen>
|
||||
|
||||
-->
|
||||
<para>
|
||||
To install the <application>Python 3</application> module,
|
||||
run the following command as the
|
||||
<systemitem class="username">root</systemitem> user:
|
||||
To install the module, run the following command as the &root; user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make -C python3 install</userinput></screen>
|
||||
<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir dbus-python</userinput></screen>
|
||||
|
||||
</sect3>
|
||||
|
||||
@ -169,7 +168,7 @@ popd</userinput></screen>
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
<segtitle>Installed Directory</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>
|
||||
@ -179,8 +178,6 @@ popd</userinput></screen>
|
||||
None
|
||||
</seg>
|
||||
<seg>
|
||||
/usr/share/doc/dbus-python-&dbus-python-version; and
|
||||
/usr/lib/python&python2-majorver;/site-packages/dbus and/or
|
||||
/usr/lib/python&python3-majorver;/site-packages/dbus
|
||||
</seg>
|
||||
</seglistitem>
|
||||
|
Loading…
Reference in New Issue
Block a user