def generate_exports():
	"""Print export commands for setting environment variables.
	"""
	env = []
	for name in list_installed_genomes():
	    try:
	        g = Genome(name)
	        env_name = re.sub(r'[^\w]+', "_", name).upper()
	        env.append("export {}={}".format(env_name, g.filename))
	    except:
	        pass
	return env
Print export commands for setting environment variables.