@classmethod<EOL><INDENT>def distinfo_dirname(cls, name, version):<DEDENT>
name = name.replace('<STR_LIT:->', '<STR_LIT:_>')<EOL>return '<STR_LIT:->'.join([name, version]) + DISTINFO_EXT<EOL>
The *name* and *version* parameters are converted into their
filename-escaped form, i.e. any ``'-'`` characters are replaced
with ``'_'`` other than the one in ``'dist-info'`` and the one
separating the name from the version number.

:parameter name: is converted to a standard distribution name by replacing
                 any runs of non- alphanumeric characters with a single
                 ``'-'``.
:type name: string
:parameter version: is converted to a standard version string. Spaces
                    become dots, and all other non-alphanumeric characters
                    (except dots) become dashes, with runs of multiple
                    dashes condensed to a single dash.
:type version: string
:returns: directory name
:rtype: string