Load SCons Tool via absolute path -
i have scons tool, works when put mytool.py
, __init__.py
under site_scons/site_tools/mytool
.
now change rather referenced via absolute path somewhere else.
so called via:
mytoolpath = '/tools/mytool' env = environment(tools=['mytool'], toolpath=mytoolpath)
and excepts environmenterror: no tool named 'mytool': not zip file:
mytool.py
located in /tools/mytool
not understand problem is. shed light.
turns out 1 of few places, strings not upconverted lists. have invoke via:
env = environment(tools=['mytool'], toolpath=[mytoolpath])
Comments
Post a Comment