Trees Indices Help
Python Standard Library
Package distutils :: Package command :: Module install_egg_info
[]

Module install_egg_info

distutils.command.install_egg_info

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

Classes [hide private]
install_egg_info
Install an .egg-info file for the package
Functions [hide private]
safe_name(name)
Convert an arbitrary string to a standard distribution name
safe_version(version)
Convert an arbitrary string to a standard version string
to_filename(name)
Convert a project or version name to its filename-escaped form

Imports: Command, log, dir_util, os, sys, re


Function Details [hide private]

safe_name(name)

Convert an arbitrary string to a standard distribution name

Any runs of non-alphanumeric/. characters are replaced with a single '-'.

safe_version(version)

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.

to_filename(name)

Convert a project or version name to its filename-escaped form

Any '-' characters are currently replaced with '_'.


Trees Indices Help
Python Standard Library

AltStyle によって変換されたページ (->オリジナル) /