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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -