forked from pythonnet/pythonnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython.c
More file actions
22 lines (19 loc) · 887 Bytes
/
python.c
File metadata and controls
22 lines (19 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// ==========================================================================
// This software is subject to the provisions of the Zope Public License,
// Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
// THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
// WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
// WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
// FOR A PARTICULAR PURPOSE.
// ==========================================================================
//
// python.c provides a python executable with is dynamically linked agaist
// libpython2.x.so. For example Ubuntu's python executables aren't linked
// against libpython :(
//
// Author: Christian Heimes <christian(at)cheimes(dot)de>
//
#include <Python.h>
int main(int argc, char **argv) {
return Py_Main(argc, argv);
}