def certbot_version(build_script_dir):
 return re.search('^__version__ = [\'"](.+)[\'"].*', file_contents(join(dirname(build_script_dir), 'certbot', '__init__.py')), re.M).group(1)

def certbot_version ( build_script_dir ) : return re . search ( '^__version__ = [\'"](.+)[\'"].*' , file_contents ( join ( dirname ( build_script_dir ) , 'certbot' , '__init__.py' ) ) , re . M ) . group ( 1 )
return the version number stamped in certbot/__init__ .