From: Pedro Ferreira (pedro.ferreira_at_[hidden])
Date: 2004-12-15 06:09:47
Em 15 Dec 2004, às 09:49, Vladimir Prus escreveu:
> I've tried to do some bjam/Python integration, and got something
> working very
> quickly. I've implemented an ability to import a Python function into
> which can then be called from bjam code.
> Known problems:
> 1. When importing Python module we don't look in BOOST_BUILD_PATH, or
> in the
> directory of importing jam module.
> 2. It's not possible (yet) to call bjam rules from Python (but should
> equally simple to implement)
> 3. I don't know what to do with BACKTRACE rule, if bjam code calls
> Python and
> then Python calls back bjam code.
> 4. Error reporting could be better.
> On the other hand
> 1. It's already possible to use all of Python standard library, which
> is cool.
> I even thinking this feature should be included in next milestone
> enabled during bjam build), so that, say, capturing an output from a
> is possible.
> 2. Even if we decide to try wholesale rewrite into Python, we can keep
> - retain existing syntax
> - retain existing tests
I'll take this into account when looking at the proting strategy.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk