J'ai un outil SCons, qui fonctionne lorsque je mets mytool.py
et __init__.py
sous site_scons/site_tools/mytool
.Charger l'outil SCons via le chemin absolu
Maintenant je voudrais le changer pour être référencé plutôt par un chemin absolu d'ailleurs.
Alors je l'ai appelé via:
mytoolpath = '/tools/mytool'
env = Environment(tools=['mytool'], toolpath=mytoolpath)
et avec EnvironmentError: No tool named 'mytool': not a Zip file:
excepte
mytool.py
est situé dans /tools/mytool
donc je ne comprends vraiment pas où est le problème. Quelqu'un pourrait-il faire la lumière?