Python: Difference between revisions
From SambaWiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
We're currently using our own Python binary (``smbpython``) which is linked against the Python libraries and includes built-in bindings for several Samba libraries. It also sets up the path Python uses to find Python modules automatically when you are running it from inside of the Samba source directory. |
|||
Using the system-provided Python should also be possible in the future, but will require the following changes when doing so: |
|||
* We need to set sys.path somehow so python can find our modules when running inside of the source tree |
|||
* We need to build .so version of the Samba Python modules |
|||
The latter requires some changes to the build system, so it may be useful to wait until we've switched to an alternative build system. |
|||
= Available modules = |
= Available modules = |
||
Revision as of 19:52, 30 April 2009
Available modules
- ldb
- tdb
- registry
- param (loadparm)
- credentials
- ...