From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-04-16 17:51:51
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
I can get the simple pytest.py/pytest.jam program working, but:
 The directory for the boost build code isn't added to sys.path.
 How do I do the equivalent of
from utils import set
 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 set.py implementation!
 Why do I need PYTHON_IMPORT_RULE in the first place?! What I want to do is
have set.py 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?
Express yourself instantly with MSN Messenger! Download today it's FREE!
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