updated setup.py and documentation for python bindings (thanks will guaraldi)

This commit is contained in:
Arvid Norberg
2008-10-17 07:42:17 +00:00
parent 8995edead0
commit c0f82a730e
2 changed files with 43 additions and 36 deletions

View File

@@ -14,8 +14,29 @@ building
Building the libtorrent python bindings will produce a shared library (DLL)
which is a python module that can be imported in a python program.
The only supported build system for the bindings are currently boost build. To
set up your build environment, you need to add some settings to your
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'_.
.. _`building libtorrent`: building.html
To build the Python bindings do:
1. Run::
python setup.py build
2. As root, run::
python setup.py install
building using boost build
--------------------------
To set up your build environment, you need to add some settings to your
``$BOOST_BUILD_PATH/user-config.jam``.
Make sure your user config contains the following line::