Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-04-16 17:51:51

Hi all,

I am trying an experiment to get the utils/set.jam module ported over to Python and
the other modules use it like a normal import statement. However, I have run into a
few problems.

I can get the simple program working, but:

[1] The directory for the boost build code isn't added to sys.path.

[2] How do I do the equivalent of
   from utils import set
in BJam+Python

[3] When I do:
   PYTHON_IMPORT_RULE set : difference : Python : difference ;
that rule is not picked up by the:
   import set ;
BJam decleration, so set.difference doesn't call the implementation!

[4] Why do I need PYTHON_IMPORT_RULE in the first place?! What I want to do is
have implement difference, intersect and equal, remove the set.jam file and
then do something like:

   pyimport set ;


   pyimport set : difference ;

and then be able to do:

   set.difference a : b

When we can do this, it should then be possible to start migrating the lower layers
over to Python. Or am I missing something?

- Reece
Express yourself instantly with MSN Messenger! Download today it's FREE!

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at