summaryrefslogtreecommitdiff
path: root/source4/scripting/python/modules.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-21s4:scripting/python/modules.[ch] - explicitly say that "py_update_path" ↵Matthias Dieter Wallnöfer1-1/+1
takes no argument This quiets some build warnings. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Feb 21 14:42:00 CET 2011 on sn-devel-104
2011-02-17s4:scripting/python/modules.c - remove a really unnecessary variableMatthias Dieter Wallnöfer1-1/+0
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Feb 17 16:01:44 CET 2011 on sn-devel-104
2011-02-07s4-python: get ordering right on python pathsAndrew Tridgell1-3/+5
we need to have PYTHONARCHDIR first, as that is where we currently install. That will minimise problems with upgrades from old installs. We also don't need to add the path twice if PYTHONDIR is the same as PYTHONARCHDIR (as happens on debian based systems) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07s4-python Don't force "bin" into the python sys.pathAndrew Bartlett1-19/+1
This patch uses the fact that dyn_PYTHONDIR and dyn_PYTHONARCHDIR is now set properly at all times, incluidng for installed and build-directory binaries. So we don't need to make assumptions about bin being magic any more. Andrew Bartlett
2011-01-14waf: use PYTHONARCHDIR for installing python shared libsAndrew Tridgell1-0/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jan 14 08:19:40 CET 2011 on sn-devel-104
2010-05-31s4-python: Remove cruft to deal with static python modules, which are noJelmer Vernooij1-40/+0
longer supported.
2010-05-28s4:scripting/python/modules.c - fix "asprintf" callsMatthias Dieter Wallnöfer1-2/+6
2010-04-20s4-python: added PYTHONDIR to python search pathAndrew Tridgell1-0/+5
we put it after the scripting/python dir, so we look in the build directory (if applicable) first.
2009-12-29python: When updating sys.path to include the Samba python path, avoid ↵Jelmer Vernooij1-3/+40
throwing away the changes made by site.py.
2009-10-23s4-python: we need to include Python.h firstAndrew Tridgell1-1/+1
If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes.
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij1-0/+1
remove some unused functions.
2008-05-10Clean up some git merges gone wrong.Jelmer Vernooij1-2/+0
(This used to be commit 42eb6b33462228467e65a51bbf624c481802b090)
2008-04-25Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij1-0/+1
Conflicts: source/Makefile source/auth/config.mk source/auth/gensec/config.mk source/build/m4/public.m4 source/build/make/python.mk source/build/make/rules.mk source/build/smb_build/header.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/dsdb/samdb/ldb_modules/config.mk source/kdc/config.mk source/lib/events/config.mk source/lib/events/events.c source/lib/ldb/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/util/config.mk source/libcli/smb2/config.mk source/libnet/config.mk source/librpc/config.mk source/nbt_server/config.mk source/ntptr/ntptr_base.c source/ntvfs/posix/config.mk source/ntvfs/sysdep/config.mk source/param/config.mk source/rpc_server/config.mk source/rpc_server/service_rpc.c source/scripting/ejs/config.mk source/scripting/python/config.mk source/smb_server/config.mk source/smbd/server.c source/torture/config.mk source/torture/smb2/config.mk source/wrepl_server/config.mk (This used to be commit 13bbd420681519894a4036729c43273912c9b402)
2008-04-08Add manually written Python binding for libnet_Join.Jelmer Vernooij1-0/+1
(This used to be commit 374654b43d9f9e8381991cedc433ce410a914f7a)
2008-04-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij1-0/+3
Conflicts: source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/makefile.pm source/heimdal_build/config.mk source/lib/events/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/registry/config.mk source/lib/socket_wrapper/config.mk source/lib/tdb/config.mk source/lib/tls/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/libnet/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/scripting/ejs/config.mk source/smbd/process_model.mk (This used to be commit 760378e0294dd0cd4523a83448328478632d7e3d)
2008-04-08Add python bindings for drsuapi.Jelmer Vernooij1-0/+1
(This used to be commit ba3f0312f0dda47fb16ed9b8eee3750b209e0dad)
2008-04-08Add python bindings for unixinfo.Jelmer Vernooij1-0/+1
(This used to be commit 068c2f858a0c7e325cb8a1f2ca36e32b31fe1f77)
2008-04-08Add Python bindings for DFS.Jelmer Vernooij1-0/+1
(This used to be commit 4319971ccb42618a3298a5f26f63fa4c9b255849)
2008-03-08Push SOVERSION and VERSION out of perl code.Jelmer Vernooij1-1/+0
(This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
2008-01-25python: Give precedence to Samba's syspath over the already set system one.Jelmer Vernooij1-1/+1
(This used to be commit f3ebaf0a0c0b881da28063c69bb6306f6aa1c774)
2008-01-21python: Fix init functions.Jelmer Vernooij1-0/+2
(This used to be commit 4b057b9bffcef9ecc61fe016746f5ce6f17f6d06)
2008-01-14python: Enable building of the wkssvc python bindings.Jelmer Vernooij1-0/+1
(This used to be commit 7a00d48a478be84e9f38c5e6cb57739063d0d613)
2008-01-14python: Compile in svcctl Python bindings.Jelmer Vernooij1-0/+1
(This used to be commit 567099b66d0369715f8e0a083a5ce160faaf4da2)
2008-01-14python: Work around the fact that there are two "security" modules now.Jelmer Vernooij1-1/+1
This well demonstrates the fact we need hierarchy. (This used to be commit df7e3498824e27f8a6d61b8b6f52577eab248d2c)
2008-01-14python: Compile security module, handle uint.Jelmer Vernooij1-0/+2
(This used to be commit dee64344fb13aaed38a550ebb4048d0fa526d5b6)
2008-01-14python: Enable python bindings for samr and lsa interfaces.Jelmer Vernooij1-0/+3
(This used to be commit 3dfcefd8ac640ef1539185f19f7414fbcea9e741)
2008-01-14python: Build epmapper module.Jelmer Vernooij1-0/+3
(This used to be commit 6cb78c7634de0f9ab327583844d7860d384356eb)
2008-01-14python: Start building winreg module.Jelmer Vernooij1-0/+1
(This used to be commit f1a9fad83cee7754304b3422aa273d5f64868e40)
2008-01-03r26658: pidl: Register Python modules.Jelmer Vernooij1-0/+1
(This used to be commit f47044aacc8eb6df856524744ab87bee997bae6d)
2007-12-28r26624: libnet/python: Use standard function for constructing context, allow ↵Jelmer Vernooij1-0/+1
overriding credentials. (This used to be commit a5fb3caedefaf5387e3a384d060272f11a3b4b99)
2007-12-26r26594: Add right paths to the Python sys.path setting so we don't have to ↵Jelmer Vernooij1-0/+8
set magic environment variables when running from the build directory. (This used to be commit 2d2674ad79330f59210408fd03e859afc01f40f2)
2007-12-24r26576: Allow the static module loading code to be used for the Python modules.Jelmer Vernooij1-0/+45
Simplify the way module initialization functions are handled. (This used to be commit ba8be2dfc0de4434c798663336b81f7f95cde520)