Add missing executable option to DummyCommand.
This commit is contained in:
parent
66cb018c96
commit
4085f030bd
|
@ -39,11 +39,13 @@ class BuildScriptsTestCase(support.TempdirManager,
|
|||
self.assert_(name in built)
|
||||
|
||||
def get_build_scripts_cmd(self, target, scripts):
|
||||
import sys
|
||||
dist = Distribution()
|
||||
dist.scripts = scripts
|
||||
dist.command_obj["build"] = support.DummyCommand(
|
||||
build_scripts=target,
|
||||
force=1
|
||||
force=1,
|
||||
executable=sys.executable
|
||||
)
|
||||
return build_scripts(dist)
|
||||
|
||||
|
|
Loading…
Reference in New Issue