diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-23 22:06:29 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-24 01:51:04 -0600 |
commit | 1ab5bcfb93c9fc7b18d55e6c5995efddf97fea09 (patch) | |
tree | 8e7a7ce729322ae1e6b57e839837e19b9dfc454f /source4/scripting/python/smbpython.c | |
parent | 2d400c1dd1ba1c5a49d2d79bdf7593d430da92e8 (diff) | |
download | samba-1ab5bcfb93c9fc7b18d55e6c5995efddf97fea09.tar.gz samba-1ab5bcfb93c9fc7b18d55e6c5995efddf97fea09.tar.xz samba-1ab5bcfb93c9fc7b18d55e6c5995efddf97fea09.zip |
r26575: Build a private copy of the Python executable for Samba 4, so we know we're always using the same library we build the modules for.
(This used to be commit 03270c5ffdb1476bef5eba846c2ea008111375fc)
Diffstat (limited to 'source4/scripting/python/smbpython.c')
-rw-r--r-- | source4/scripting/python/smbpython.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/source4/scripting/python/smbpython.c b/source4/scripting/python/smbpython.c new file mode 100644 index 0000000000..43785765c1 --- /dev/null +++ b/source4/scripting/python/smbpython.c @@ -0,0 +1,25 @@ +/* + Unix SMB/CIFS implementation. + Samba utility functions + Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#include "includes.h" +#include <Python.h> + +int main(int argc, char **argv) { + return Py_Main(argc,argv); +} |