@@ -7,14 +7,8 @@ cpp_gen = generator(protoc,
77 arguments : [' --proto_path=@CURRENT_SOURCE_DIR@' , ' --cpp_out=@BUILD_DIR@' , ' @INPUT@' ]
88 )
99cpp_generated = cpp_gen.process(' epics_event.proto' )
10- # does not fully work ..
11- # how do I install it
12- py_gen = generator (protoc,
13- output : [' @BASENAME@_pb2.py' ],
14- arguments : [' --proto_path=@CURRENT_SOURCE_DIR@' , ' --python_out=@BUILD_DIR@' , ' @INPUT@' ]
15- )
16- py_generated = py_gen.process(' epics_event.proto' )
1710
11+ # Got generator not to do the job
1812py_gen2 = custom_target (' epics_event_build_py' ,
1913 output : [' epics_event_pb2.py' ],
2014 input : ' epics_event.proto' ,
@@ -26,12 +20,6 @@ py_gen2 = custom_target('epics_event_build_py',
2620 install_tag : ' python-runtime' ,
2721)
2822
29- py_proc = custom_target (' py_proto' ,
30- command : [ ' cp' , ' @INPUT@' , ' @OUTPUT@' ],
31- input : py_generated,
32- output : ' epics_event_pb2.py' ,
33- build_by_default : true )
34-
3523# cython extension
3624incdir_numpy = run_command (py,
3725 [' -c' , ' import os; os.chdir(".."); import numpy; print(numpy.get_include())' ],
0 commit comments