updated python binding docs

This commit is contained in:
Arvid Norberg 2008-12-02 08:39:44 +00:00
parent 3d136a8e93
commit 7dbce70e96
1 changed files with 6 additions and 7 deletions

View File

@ -17,10 +17,13 @@ which is a python module that can be imported in a python program.
building using setup.py
-----------------------
To set up the Python bindings for libtorrent, you must first have libtorrent
built and installed on the system. See 'building libtorrent'_.
There is a ``setup.py`` shipped with libtorrent that can be used on windows.
On windows the setup.py will invoke ``bjam`` and assume that you have boost
sources at ``$BOOST_PATH``. The resulting executable is self-contained, it does
not depend any boost or libtorrent dlls.
.. _`building libtorrent`: building.html
On other systems, the setup.py is generated by running
``./configure --enable-python-binding``.
To build the Python bindings do:
@ -32,10 +35,6 @@ To build the Python bindings do:
python setup.py install
This requires that you have built and install libtorrent first. The setup.py relies
on pkg-config to be installed as well. It invokes pkg-config in order to link
against libtorrent.
building using boost build
--------------------------