Run epydoc and/or pylint builders from scons file
问题 How would I create builders that runs epydoc or/and pylint from a scons built? 回答1: You can use the Command() builder instead of creating your own builder. For instance, you could execute epydoc as follows: # SCons will substitute $SOURCE and $TARGET accordingly # add any extra cmd line args you need to the cmd string cmd = 'epydoc $SOURCE $TARGET' env.Command(target = yourTarget, source = yourSourceFile_s, action = cmd) 回答2: Here is what I ended up using, based on Brady's answer. ## Create