def get_search_names(name):
parts = re.split('<STR_LIT>', name)<EOL>if len(parts) == <NUM_LIT:1>:<EOL><INDENT>return parts<EOL><DEDENT>result = set()<EOL>for i in range(len(parts) - <NUM_LIT:1>, <NUM_LIT:0>, -<NUM_LIT:1>):<EOL><INDENT>for s1 in '<STR_LIT>':<EOL><INDENT>prefix = s1.join(parts[:i])<EOL>for s2 in '<STR_LIT>':<EOL><INDENT>suffix = s2.join(parts[i:])<EOL>for s3 in '<STR_LIT>':<EOL><INDENT>result.add(s3.join([prefix, suffix]))<EOL><DEDENT><DEDENT><DEDENT><DEDENT>return list(result)<EOL>
Return a list of values to search on when we are looking for a package
    with the given name.

    This is required to search on both pyramid_debugtoolbar and
    pyramid-debugtoolbar.