Пример #1
0
    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, executable=sys.executable)
        return build_scripts(dist)
 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,
         executable=sys.executable,
         use_2to3=False,
         use_2to3_fixers=None,
         convert_2to3_doctests=None
         )
     return build_scripts(dist)