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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -