[Scons-users] script import

Philipp Kraus philipp.kraus at tu-clausthal.de
Sat Jul 6 03:57:55 EDT 2013


Hello,

I have stores under <projectdir>/site_scons/ a Utilites.py script. In my main SCons script <projectdir>/SConstruct I can use this script with "import Utilities".
I have some subdirectories eg <projectdir>/subdir/SConstruct and I would like to use the Utilities script also, I have tried to push the Utilites with
the exports="env Utilities" on the env.SConscript or I do the import in the subscript direct with import, but that is not working. How can I push my Utilities
script to all subbuildscripts?

I hope that this question is not OT, because it can be also a Python question

Thanks

Phil


More information about the Scons-users mailing list