1# -*- coding: utf-8 -*- 2# generated from catkin/cmake/template/relay.py.in 3# creates a relay to a python script source file, acting as that file. 4# The purpose is that of a symlink 5python_script = '@PYTHON_SCRIPT@' 6with open(python_script, 'r') as fh: 7 context = { 8 '__builtins__': __builtins__, 9 '__doc__': None, 10 '__file__': python_script, 11 '__name__': __name__, 12 '__package__': None, 13 } 14 exec(compile(fh.read(), python_script, 'exec'), context) 15