summaryrefslogtreecommitdiff
path: root/source4/scripting/swig/README
blob: 38b95b28f4960579b73d66668756b9e546dee0ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
README for Samba SWIG Python extensions
---------------------------------------

Instructions for building:

1. Run configure with the --with-python option to enable python
   extensions. 

2. Run 'make idl_full swig' to build extensions.

3. At some stage there will be a proper system for installing the
   extensions, but right now it's easier to run them in place.  Set
   your PYTHONPATH to include the modules.  From the Samba source
   directory, run:

   export PYTHONPATH=`pwd`/scripting/swig

Now you can go nuts and use the extensions.  Check the
scripting/swig/torture directory for a testsuite.  There will
hopefully be a bunch of usage examples somewhere.