Move python modules from source4/scripting/python/ to python/.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 28 Dec 2012 14:37:14 +0000 (15:37 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 2 Mar 2013 02:57:34 +0000 (03:57 +0100)
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Mar  2 03:57:34 CET 2013 on sn-devel-104

120 files changed:
libcli/nbt/pynbt.c
python/examples/dnsserver.py [moved from source4/scripting/python/examples/dnsserver.py with 100% similarity]
python/examples/netbios.py [moved from source4/scripting/python/examples/netbios.py with 100% similarity]
python/examples/samr.py [moved from source4/scripting/python/examples/samr.py with 100% similarity]
python/examples/winreg.py [moved from source4/scripting/python/examples/winreg.py with 100% similarity]
python/modules.c [moved from source4/scripting/python/modules.c with 97% similarity]
python/modules.h [moved from source4/scripting/python/modules.h with 100% similarity]
python/pyglue.c [moved from source4/scripting/python/pyglue.c with 100% similarity]
python/samba/__init__.py [moved from source4/scripting/python/samba/__init__.py with 100% similarity]
python/samba/common.py [moved from source4/scripting/python/samba/common.py with 100% similarity]
python/samba/dbchecker.py [moved from source4/scripting/python/samba/dbchecker.py with 100% similarity]
python/samba/drs_utils.py [moved from source4/scripting/python/samba/drs_utils.py with 100% similarity]
python/samba/getopt.py [moved from source4/scripting/python/samba/getopt.py with 100% similarity]
python/samba/hostconfig.py [moved from source4/scripting/python/samba/hostconfig.py with 100% similarity]
python/samba/idmap.py [moved from source4/scripting/python/samba/idmap.py with 100% similarity]
python/samba/join.py [moved from source4/scripting/python/samba/join.py with 100% similarity]
python/samba/kcc_utils.py [moved from source4/scripting/python/samba/kcc_utils.py with 100% similarity]
python/samba/ms_display_specifiers.py [moved from source4/scripting/python/samba/ms_display_specifiers.py with 100% similarity]
python/samba/ms_schema.py [moved from source4/scripting/python/samba/ms_schema.py with 100% similarity]
python/samba/ndr.py [moved from source4/scripting/python/samba/ndr.py with 100% similarity]
python/samba/netcmd/__init__.py [moved from source4/scripting/python/samba/netcmd/__init__.py with 100% similarity]
python/samba/netcmd/common.py [moved from source4/scripting/python/samba/netcmd/common.py with 100% similarity]
python/samba/netcmd/dbcheck.py [moved from source4/scripting/python/samba/netcmd/dbcheck.py with 100% similarity]
python/samba/netcmd/delegation.py [moved from source4/scripting/python/samba/netcmd/delegation.py with 100% similarity]
python/samba/netcmd/dns.py [moved from source4/scripting/python/samba/netcmd/dns.py with 100% similarity]
python/samba/netcmd/domain.py [moved from source4/scripting/python/samba/netcmd/domain.py with 100% similarity]
python/samba/netcmd/drs.py [moved from source4/scripting/python/samba/netcmd/drs.py with 100% similarity]
python/samba/netcmd/dsacl.py [moved from source4/scripting/python/samba/netcmd/dsacl.py with 100% similarity]
python/samba/netcmd/fsmo.py [moved from source4/scripting/python/samba/netcmd/fsmo.py with 100% similarity]
python/samba/netcmd/gpo.py [moved from source4/scripting/python/samba/netcmd/gpo.py with 100% similarity]
python/samba/netcmd/group.py [moved from source4/scripting/python/samba/netcmd/group.py with 100% similarity]
python/samba/netcmd/ldapcmp.py [moved from source4/scripting/python/samba/netcmd/ldapcmp.py with 100% similarity]
python/samba/netcmd/main.py [moved from source4/scripting/python/samba/netcmd/main.py with 100% similarity]
python/samba/netcmd/ntacl.py [moved from source4/scripting/python/samba/netcmd/ntacl.py with 100% similarity]
python/samba/netcmd/processes.py [moved from source4/scripting/python/samba/netcmd/processes.py with 100% similarity]
python/samba/netcmd/rodc.py [moved from source4/scripting/python/samba/netcmd/rodc.py with 100% similarity]
python/samba/netcmd/sites.py [moved from source4/scripting/python/samba/netcmd/sites.py with 100% similarity]
python/samba/netcmd/spn.py [moved from source4/scripting/python/samba/netcmd/spn.py with 100% similarity]
python/samba/netcmd/testparm.py [moved from source4/scripting/python/samba/netcmd/testparm.py with 100% similarity]
python/samba/netcmd/time.py [moved from source4/scripting/python/samba/netcmd/time.py with 100% similarity]
python/samba/netcmd/user.py [moved from source4/scripting/python/samba/netcmd/user.py with 100% similarity]
python/samba/netcmd/vampire.py [moved from source4/scripting/python/samba/netcmd/vampire.py with 100% similarity]
python/samba/ntacls.py [moved from source4/scripting/python/samba/ntacls.py with 100% similarity]
python/samba/provision/__init__.py [moved from source4/scripting/python/samba/provision/__init__.py with 100% similarity]
python/samba/provision/backend.py [moved from source4/scripting/python/samba/provision/backend.py with 100% similarity]
python/samba/provision/common.py [moved from source4/scripting/python/samba/provision/common.py with 100% similarity]
python/samba/provision/descriptor.py [moved from source4/scripting/python/samba/provision/descriptor.py with 100% similarity]
python/samba/provision/sambadns.py [moved from source4/scripting/python/samba/provision/sambadns.py with 100% similarity]
python/samba/samba3/__init__.py [moved from source4/scripting/python/samba/samba3/__init__.py with 100% similarity]
python/samba/samdb.py [moved from source4/scripting/python/samba/samdb.py with 100% similarity]
python/samba/schema.py [moved from source4/scripting/python/samba/schema.py with 100% similarity]
python/samba/sd_utils.py [moved from source4/scripting/python/samba/sd_utils.py with 100% similarity]
python/samba/sites.py [moved from source4/scripting/python/samba/sites.py with 100% similarity]
python/samba/tdb_util.py [moved from source4/scripting/python/samba/tdb_util.py with 100% similarity]
python/samba/tests/__init__.py [moved from source4/scripting/python/samba/tests/__init__.py with 100% similarity]
python/samba/tests/auth.py [moved from source4/scripting/python/samba/tests/auth.py with 100% similarity]
python/samba/tests/blackbox/__init__.py [moved from source4/scripting/python/samba/tests/blackbox/__init__.py with 100% similarity]
python/samba/tests/blackbox/ndrdump.py [moved from source4/scripting/python/samba/tests/blackbox/ndrdump.py with 100% similarity]
python/samba/tests/blackbox/samba_tool_drs.py [moved from source4/scripting/python/samba/tests/blackbox/samba_tool_drs.py with 100% similarity]
python/samba/tests/common.py [moved from source4/scripting/python/samba/tests/common.py with 100% similarity]
python/samba/tests/core.py [moved from source4/scripting/python/samba/tests/core.py with 100% similarity]
python/samba/tests/credentials.py [moved from source4/scripting/python/samba/tests/credentials.py with 100% similarity]
python/samba/tests/dcerpc/__init__.py [moved from source4/scripting/python/samba/tests/dcerpc/__init__.py with 100% similarity]
python/samba/tests/dcerpc/bare.py [moved from source4/scripting/python/samba/tests/dcerpc/bare.py with 100% similarity]
python/samba/tests/dcerpc/dnsserver.py [moved from source4/scripting/python/samba/tests/dcerpc/dnsserver.py with 100% similarity]
python/samba/tests/dcerpc/misc.py [moved from source4/scripting/python/samba/tests/dcerpc/misc.py with 100% similarity]
python/samba/tests/dcerpc/registry.py [moved from source4/scripting/python/samba/tests/dcerpc/registry.py with 100% similarity]
python/samba/tests/dcerpc/rpc_talloc.py [moved from source4/scripting/python/samba/tests/dcerpc/rpc_talloc.py with 100% similarity]
python/samba/tests/dcerpc/rpcecho.py [moved from source4/scripting/python/samba/tests/dcerpc/rpcecho.py with 100% similarity]
python/samba/tests/dcerpc/sam.py [moved from source4/scripting/python/samba/tests/dcerpc/sam.py with 100% similarity]
python/samba/tests/dcerpc/srvsvc.py [moved from source4/scripting/python/samba/tests/dcerpc/srvsvc.py with 100% similarity]
python/samba/tests/dcerpc/testrpc.py [moved from source4/scripting/python/samba/tests/dcerpc/testrpc.py with 100% similarity]
python/samba/tests/dcerpc/unix.py [moved from source4/scripting/python/samba/tests/dcerpc/unix.py with 100% similarity]
python/samba/tests/dns.py [moved from source4/scripting/python/samba/tests/dns.py with 100% similarity]
python/samba/tests/docs.py [moved from source4/scripting/python/samba/tests/docs.py with 100% similarity]
python/samba/tests/dsdb.py [moved from source4/scripting/python/samba/tests/dsdb.py with 100% similarity]
python/samba/tests/gensec.py [moved from source4/scripting/python/samba/tests/gensec.py with 100% similarity]
python/samba/tests/getopt.py [moved from source4/scripting/python/samba/tests/getopt.py with 100% similarity]
python/samba/tests/hostconfig.py [moved from source4/scripting/python/samba/tests/hostconfig.py with 100% similarity]
python/samba/tests/libsmb_samba_internal.py [moved from source4/scripting/python/samba/tests/libsmb_samba_internal.py with 100% similarity]
python/samba/tests/messaging.py [moved from source4/scripting/python/samba/tests/messaging.py with 100% similarity]
python/samba/tests/netcmd.py [moved from source4/scripting/python/samba/tests/netcmd.py with 100% similarity]
python/samba/tests/ntacls.py [moved from source4/scripting/python/samba/tests/ntacls.py with 100% similarity]
python/samba/tests/param.py [moved from source4/scripting/python/samba/tests/param.py with 100% similarity]
python/samba/tests/policy.py [moved from source4/scripting/python/samba/tests/policy.py with 100% similarity]
python/samba/tests/posixacl.py [moved from source4/scripting/python/samba/tests/posixacl.py with 100% similarity]
python/samba/tests/provision.py [moved from source4/scripting/python/samba/tests/provision.py with 100% similarity]
python/samba/tests/registry.py [moved from source4/scripting/python/samba/tests/registry.py with 100% similarity]
python/samba/tests/samba3.py [moved from source4/scripting/python/samba/tests/samba3.py with 100% similarity]
python/samba/tests/samba3sam.py [moved from source4/scripting/python/samba/tests/samba3sam.py with 100% similarity]
python/samba/tests/samba_tool/__init__.py [moved from source4/scripting/python/samba/tests/samba_tool/__init__.py with 100% similarity]
python/samba/tests/samba_tool/base.py [moved from source4/scripting/python/samba/tests/samba_tool/base.py with 100% similarity]
python/samba/tests/samba_tool/gpo.py [moved from source4/scripting/python/samba/tests/samba_tool/gpo.py with 100% similarity]
python/samba/tests/samba_tool/group.py [moved from source4/scripting/python/samba/tests/samba_tool/group.py with 100% similarity]
python/samba/tests/samba_tool/ntacl.py [moved from source4/scripting/python/samba/tests/samba_tool/ntacl.py with 100% similarity]
python/samba/tests/samba_tool/processes.py [moved from source4/scripting/python/samba/tests/samba_tool/processes.py with 100% similarity]
python/samba/tests/samba_tool/timecmd.py [moved from source4/scripting/python/samba/tests/samba_tool/timecmd.py with 100% similarity]
python/samba/tests/samba_tool/user.py [moved from source4/scripting/python/samba/tests/samba_tool/user.py with 100% similarity]
python/samba/tests/samdb.py [moved from source4/scripting/python/samba/tests/samdb.py with 100% similarity]
python/samba/tests/security.py [moved from source4/scripting/python/samba/tests/security.py with 100% similarity]
python/samba/tests/source.py [moved from source4/scripting/python/samba/tests/source.py with 100% similarity]
python/samba/tests/strings.py [moved from source4/scripting/python/samba/tests/strings.py with 100% similarity]
python/samba/tests/unicodenames.py [moved from source4/scripting/python/samba/tests/unicodenames.py with 100% similarity]
python/samba/tests/upgrade.py [moved from source4/scripting/python/samba/tests/upgrade.py with 100% similarity]
python/samba/tests/upgradeprovision.py [moved from source4/scripting/python/samba/tests/upgradeprovision.py with 100% similarity]
python/samba/tests/upgradeprovisionneeddc.py [moved from source4/scripting/python/samba/tests/upgradeprovisionneeddc.py with 100% similarity]
python/samba/tests/xattr.py [moved from source4/scripting/python/samba/tests/xattr.py with 100% similarity]
python/samba/upgrade.py [moved from source4/scripting/python/samba/upgrade.py with 100% similarity]
python/samba/upgradehelpers.py [moved from source4/scripting/python/samba/upgradehelpers.py with 100% similarity]
python/samba/web_server/__init__.py [moved from source4/scripting/python/samba/web_server/__init__.py with 100% similarity]
python/samba/xattr.py [moved from source4/scripting/python/samba/xattr.py with 100% similarity]
python/samba_external/README [moved from source4/scripting/python/samba_external/README with 100% similarity]
python/uuidmodule.c [moved from source4/scripting/python/uuidmodule.c with 100% similarity]
python/wscript_build [moved from source4/scripting/python/wscript_build with 100% similarity]
source4/auth/gensec/pygensec.c
source4/lib/messaging/pymessaging.c
source4/param/provision.c
source4/scripting/bin/subunitrun
source4/web_server/wsgi.c
wscript_build

index 0bba2ec..8074fb6 100644 (file)
@@ -20,7 +20,7 @@
 #include <Python.h>
 #include "includes.h"
 #include "libcli/util/pyerrors.h"
-#include "scripting/python/modules.h"
+#include "python/modules.h"
 #include "../libcli/nbt/libnbt.h"
 #include "lib/events/events.h"
 
similarity index 97%
rename from source4/scripting/python/modules.c
rename to python/modules.c
index 78cdbc0..371f0d5 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <Python.h>
 #include "includes.h"
-#include "scripting/python/modules.h"
+#include "python/modules.h"
 #include "dynconfig/dynconfig.h"
 
 static bool PySys_PathPrepend(PyObject *list, const char *path)
index a84fbf8..02e5ae2 100644 (file)
@@ -22,7 +22,7 @@
 #include "auth/gensec/gensec.h"
 #include "auth/credentials/pycredentials.h"
 #include "libcli/util/pyerrors.h"
-#include "scripting/python/modules.h"
+#include "python/modules.h"
 #include <pytalloc.h>
 #include <tevent.h>
 #include "librpc/rpc/pyrpc_util.h"
index 3901d4d..d035fb0 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <Python.h>
 #include "includes.h"
-#include "scripting/python/modules.h"
+#include "python/modules.h"
 #include "libcli/util/pyerrors.h"
 #include "librpc/rpc/pyrpc_util.h"
 #include "librpc/ndr/libndr.h"
index 298e1c3..cdd28d8 100644 (file)
@@ -26,7 +26,7 @@
 #include "param/provision.h"
 #include "param/secrets.h"
 #include <pytalloc.h>
-#include "scripting/python/modules.h"
+#include "python/modules.h"
 #include "param/pyparam.h"
 #include "dynconfig/dynconfig.h"
 
index 15a78bf..918195e 100755 (executable)
@@ -49,7 +49,7 @@ import samba.tests
 usage = 'subunitrun [options] <tests>'
 description = '''
 This runs a Samba python test suite. The tests are typically located in
-source4/scripting/python/samba/tests/*.py
+python/samba/tests/*.py
 
 To run the tests from one of those modules, specify the test as
 samba.tests.MODULE. For example, to run the tests in common.py:
index 17ad65a..f0e7bd5 100644 (file)
@@ -26,7 +26,7 @@
 #include "../lib/util/dlinklist.h"
 #include "lib/tls/tls.h"
 #include "lib/tsocket/tsocket.h"
-#include "scripting/python/modules.h"
+#include "python/modules.h"
 
 /* There's no Py_ssize_t in 2.4, apparently */
 #if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION < 5
index ec673ce..f0c9f2a 100644 (file)
@@ -40,7 +40,7 @@ bld.RECURSE('lib/ldb')
 bld.RECURSE('lib/param')
 bld.RECURSE('dynconfig')
 bld.RECURSE('lib/util/charset')
-bld.RECURSE('source4/scripting/python')
+bld.RECURSE('python')
 bld.RECURSE('source4/param')
 bld.RECURSE('source4/librpc')
 bld.RECURSE('source4/dsdb')