Py11
v0.2
This is a minimalist Python wrapper for C++11.
Main Page
Related Pages
Modules
Classes
Files
File List
mainpage.hpp
1
/** @mainpage Py11
2
*
3
* @authors <a href="http://lenx.100871.net">Lenx Tao Wei</a> (lenx.wei at gmail.com)
4
*
5
* @section intro Introduction
6
* Py11 is a minimalist Python wrapper for C++11, and makes it easier to call Python libraries from C++11.
7
*
8
* The git repository is at https://github.com/LenxWei/py11.
9
*
10
* @section install Install
11
*
12
* Py11 is a pure header library. To install it, just copy the directory include/py11 to system include directory.
13
*
14
* @section compile Compile
15
*
16
* Need a compiler supporting C++11, such as gcc 4.7, clang 3.2 or higher.<br>
17
* Make sure to include correct Python header files and link correct Python libraries.
18
* For example:<br>
19
* <pre>
20
* export CFLAGS="-I/usr/include/python2.7 -std=c++11"
21
* export LDFLAGS=-lpython2.7
22
* </pre>
23
*
24
* @section doc Documents
25
* You can find documents about wrapper classes <a href="hierarchy.html">here</a>,
26
* and Python utils <a href="modules.html">here</a>.
27
*
28
* @section ex1 Examples
29
* Here is the py11 implementation of <a href="http://docs.python.org/2/extending/embedding.html#pure-embedding">the original call example</a>.
30
* \include call_py11.cpp
31
*
32
* <hr>
33
* @todo add tutorial
34
* @todo add exception handling
35
*
36
* @defgroup utils Python utils
37
* Utility functoins.
38
*
39
*/
include
mainpage.hpp
Generated on Wed Dec 25 2013 18:23:29 for Py11 by
1.8.5