Yes, I thought that the problem was related to the fact that "/path/to/file/my-tool" was being used as the module name instead of "my-tool".  The rule "some-rule" is an actions rule defined in the module that is used by a custom generator.

It would be nice if import had the same semantics as modules.load (i.e. possibility to specify a search path for the module).

I was hoping for a solution independent of the BOOST_BUILD_PATH environment variable, but I will do it this way for now.

Thanks for your help!

Regards,
Anthony