def set_le_script_version(venv_dir, version):
 with open(join(venv_dir, 'letsencrypt', 'bin', 'letsencrypt'), 'w') as script:
  script.write(("#!/usr/bin/env python\nfrom sys import stderr\nstderr.write('letsencrypt %s\\n')" % version))

def set_le_script_version ( venv_dir , version ) : with open ( join ( venv_dir , 'letsencrypt' , 'bin' , 'letsencrypt' ) , 'w' ) as script : script . write ( ( "#!/usr/bin/env python\nfrom sys import stderr\nstderr.write('letsencrypt %s\\n')" % version ) )
tell the letsencrypt script to report a certain version .