module documentation

distutils.command.install_egg_info Implements the Distutils 'install_egg_info' command, for installing a package's PKG-INFO metadata.

Class install_egg_info Install an .egg-info file for the package
Function safe_name Convert an arbitrary string to a standard distribution name
Function safe_version Convert an arbitrary string to a standard version string
Function to_filename Convert a project or version name to its filename-escaped form
def safe_name(name): (source)

Convert an arbitrary string to a standard distribution name Any runs of non-alphanumeric/. characters are replaced with a single '-'.

def safe_version(version): (source)

Convert an arbitrary string to a standard version string Spaces become dots, and all other non-alphanumeric characters become dashes, with runs of multiple dashes condensed to a single dash.

def to_filename(name): (source)

Convert a project or version name to its filename-escaped form Any '-' characters are currently replaced with '_'.