示例#1
0
 def _python_build(self, targets):
   try:
     executor = PythonBuilder(self.error, self.root_dir)
     return executor.build(targets, self.build_args)
   except:
     self.error("Problem executing PythonBuilder for targets %s: %s" % (targets,
                                                                        traceback.format_exc()))
示例#2
0
文件: build.py 项目: adamsxu/commons
 def _python_build(self, targets):
   try:
     executor = PythonBuilder(self.error, self.root_dir)
     return executor.build(targets, self.build_args)
   except:
     self.error("Problem executing PythonBuilder for targets %s: %s" % (targets,
                                                                        traceback.format_exc()))
示例#3
0
 def _python_build(self, targets):
   try:
     executor = PythonBuilder(self.run_tracker, self.root_dir)
     return executor.build(
       targets,
       self.build_args,
       interpreter=self.interpreter,
       conn_timeout=self.options.conn_timeout)
   except:
     self.error("Problem executing PythonBuilder for targets %s: %s" % (targets,
                                                                        traceback.format_exc()))