From 7dbce70e9660cd9cd93a7a0cf079c400c410cb92 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 2 Dec 2008 08:39:44 +0000 Subject: [PATCH] updated python binding docs --- docs/python_binding.rst | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/python_binding.rst b/docs/python_binding.rst index 3cb5f1782..c60a09dbf 100644 --- a/docs/python_binding.rst +++ b/docs/python_binding.rst @@ -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 --------------------------