updated python binding docs
This commit is contained in:
@@ -17,10 +17,13 @@ which is a python module that can be imported in a python program.
|
|||||||
building using setup.py
|
building using setup.py
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
To set up the Python bindings for libtorrent, you must first have libtorrent
|
There is a ``setup.py`` shipped with libtorrent that can be used on windows.
|
||||||
built and installed on the system. See 'building libtorrent'_.
|
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:
|
To build the Python bindings do:
|
||||||
|
|
||||||
@@ -32,10 +35,6 @@ To build the Python bindings do:
|
|||||||
|
|
||||||
python setup.py install
|
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
|
building using boost build
|
||||||
--------------------------
|
--------------------------
|
||||||
|
Reference in New Issue
Block a user