Revision 61d23251

View differences:

client/python/hlrc_client/simple_robot_gaze.py
248 248
            return None
249 249

  
250 250

  
251
def main(arguments):
251
def runner(arguments):
252 252
    if len(arguments) != 3:
253 253
        print(">>> Usage: simple_robot_gaze.py <inscope 'persons_scope'> <outscope 'gaze_target_scope'>\n\n")
254 254
        sys.exit(1)
......
261 261
    gc.run_subscriber()
262 262

  
263 263
if __name__ == '__main__':
264
    main(sys.argv)
264
    runner(sys.argv)
265 265

  
client/python/setup.py
108 108
    entry_points={
109 109
        'console_scripts': [
110 110
            'hlrc_test_gui=hlrc_client.hlrc_test_gui:main',
111
            'simple_robot_gaze=hlrc_client.simple_robot_gaze:main'
111
            'simple_robot_gaze=hlrc_client.simple_robot_gaze:runner'
112 112
        ],
113 113
    },
114 114
)

Also available in: Unified diff