5
5
pyrex_str = '${PYREX} ${SRC} -o ${TGT}'
7
7
def pyrex_file(self, node):
8
gentask = self.create_task('pyrexc', nice=1)
9
gentask.set_inputs(node)
10
gentask.set_outputs(node.change_ext('.c'))
8
gentask = self.create_task('pyrexc', nice=1)
9
gentask.set_inputs(node)
10
gentask.set_outputs(node.change_ext('.c'))
12
cctask = self.create_task('cc')
13
cctask.set_inputs(gentask.m_outputs)
14
cctask.set_outputs(node.change_ext('.o'))
12
cctask = self.create_task('cc')
13
cctask.set_inputs(gentask.m_outputs)
14
cctask.set_outputs(node.change_ext('.o'))
17
Action.simple_action('pyrexc', pyrex_str, color='BLUE')
18
env.hook('cc', 'PYREX_EXT', pyrex_file)
17
Action.simple_action('pyrexc', pyrex_str, color='BLUE')
18
env.hook('cc', 'PYREX_EXT', pyrex_file)
21
python = conf.find_program('pyrexc', var='PYREX')
24
conf.env['PYREX_EXT'] = ['.pyx']
21
python = conf.find_program('pyrexc', var='PYREX')
24
conf.env['PYREX_EXT'] = ['.pyx']