PYTHON-CONFIG(1) | General Commands Manual | PYTHON-CONFIG(1) |
python-config - output build options for python C/C++ extensions or embedding
python-config [ --prefix ] [ --exec-prefix ] [ --includes ] [ --libs ] [ --cflags ] [ --ldflags ] [ --extension-suffix ] [ --abiflags ] [ --help ]
python-config helps compiling and linking programs, which embed the Python interpreter, or extension modules that can be loaded dynamically (at run time) into the interpreter.
To build the singe-file c program prog against the python library, use
The same in a makefile:
To build a dynamically loadable python module, use
python (1)
http://docs.python.org/extending/extending.html
/usr/share/doc/python/faq/extending.html
This manual page was written by Johann Felix Soden <johfel@gmx.de> for the Debian project (and may be used by others).
November 27, 2011 |