Does boost python support context management using the with
statement? In my case I need to manage __enter__/__exit__ on
the c++ side. Could not find any examples for this in the
documentation.
Any help appreciated.
Best regards,
Ta,
Avi
___
Cplusp
I have a crash when importing my boost python
extension. With the following configuration.
- python 2.7
- boost 1.45
- vacpp 11.1
- AIX 5.3
The problem can be reproduced with boost python examples as well.
Currently I have a working solution using python 2.54.
This is what the core du
As a part of installation of my extension I need determine the
python extension ( without having to hard code it)
Currently you can specify the python version, but I need a way
of determining which python version is being used, when we
specify: 'using python ;'
Is this possible ?
Best regard
Using boost 1.45, on linux suse, gcc
I am trying to install a shared library(python extension), and I want
to hard code
the path to the boost python shared library, so that my users don't need to
specify LD_LIBRARY_PATH.
>From reading the bjam documentation, I should be using .
This works for an
I have built boost python extension. I have used the
to embed the path to boost python shared library.
This avoids users of my extension from having to set
LD_LIBRARY_PATH when using my extension
python-extension ecflow : [ glob src/*.cpp ]
: $(PYTHON_INSTALL_DIR)
;
In my Jam
Trying to understand --threading option when applied to building boost python
On Linux with gcc it appears to have no effect.
bjam toolset=gcc --with-python link=shared variant=debug --threading=single
Building the Boost C++ Libraries.
...patience...
...patience...
...found 1489 targets...
...upd