python: Add documentation to guestfs-python about using pip & virtualenvs.

This commit is contained in:
Richard W.M. Jones
2016-07-11 15:47:51 +01:00
parent c56c6e9010
commit 1f650932e3

View File

@@ -40,6 +40,18 @@ Type:
>>> import guestfs
>>> help (guestfs)
=head2 USING PYTHON BINDINGS IN A VIRTUALENV
These bindings are I<not> available in pypi owing to a licensing
problem. See L<https://bugzilla.redhat.com/1075594> for current
status.
However we do publish a Python distribution for selected stable
versions of libguestfs in L<http://libguestfs.org/download/python>.
You can use it like this:
pip install http://libguestfs.org/download/python/guestfs-1.XX.YY.tar.gz
=head1 EXAMPLE 1: CREATE A DISK IMAGE
@EXAMPLE1@