def setup(base_path, root_module_name='autotest'):
 if (root_module_name in sys.modules):
  return
 _create_module_and_parents(root_module_name)
 imp.load_package(root_module_name, base_path)
 sys.path.insert(0, os.path.join(base_path, 'site-packages'))

def setup ( base_path , root_module_name = 'autotest' ) : if ( root_module_name in sys . modules ) : return _create_module_and_parents ( root_module_name ) imp . load_package ( root_module_name , base_path ) sys . path . insert ( 0 , os . path . join ( base_path , 'site-packages' ) )
setup the raspberry pi gpio component .