Boost logo

Boost :

Subject: [boost] [python] run python script from bjam
From: lcaminiti (lorcaminiti_at_[hidden])
Date: 2012-05-25 10:18:50

Hello all,

I build a Boost.Python module and install it using bjam as follow:

    python-extension pydef : deduced_params_pydef.cpp
        : <library>/boost/python//boost_python
    install pydef_install : pydef
        : <install-dependencies>on

I the same dir I have a python script which will
import the module and test it.

How do I run the python script automatically from bjam so to fully compile
and test the module that my code generates?

Something like (this doesn't work of course):

# Make sure pydef target is built first, then runs python
run-py pydef_install : ;

Thanks a lot.

View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at