Functions | |
def | _validate_md5 |
def | download_setuptools |
def | main |
def | update_md5 |
def | use_setuptools |
Variables | |
string | DEFAULT_URL = "http://pypi.python.org/packages/%s/s/setuptools/" |
string | DEFAULT_VERSION = "0.6c11" |
dictionary | md5_data |
def ez_setup::_validate_md5 | ( | egg_name, | ||
data | ||||
) | [private] |
Definition at line 69 of file ez_setup.py.
def ez_setup::download_setuptools | ( | version = DEFAULT_VERSION , |
||
download_base = DEFAULT_URL , |
||||
to_dir = os.curdir , |
||||
delay = 15 | ||||
) |
Download setuptools from a specified location and return its filename `version` should be a valid setuptools version number that is available as an egg for download under the `download_base` URL (which should end with a '/'). `to_dir` is the directory where the egg will be downloaded. `delay` is the number of seconds to pause before an actual download attempt.
Definition at line 121 of file ez_setup.py.
def ez_setup::main | ( | argv, | ||
version = DEFAULT_VERSION | ||||
) |
Install or upgrade setuptools and EasyInstall
Definition at line 203 of file ez_setup.py.
def ez_setup::update_md5 | ( | filenames | ) |
Update our built-in md5 registry
Definition at line 244 of file ez_setup.py.
def ez_setup::use_setuptools | ( | version = DEFAULT_VERSION , |
||
download_base = DEFAULT_URL , |
||||
to_dir = os.curdir , |
||||
download_delay = 15 | ||||
) |
Automatically find/download setuptools and make it available on sys.path `version` should be a valid setuptools version number that is available as an egg for download under the `download_base` URL (which should end with a '/'). `to_dir` is the directory where setuptools will be downloaded, if it is not already available. If `download_delay` is specified, it should be the number of seconds that will be paused before initiating a download, should one be required. If an older version of setuptools is installed, this routine will print a message to ``sys.stderr`` and raise SystemExit in an attempt to abort the calling script.
Definition at line 80 of file ez_setup.py.
string ez_setup::DEFAULT_URL = "http://pypi.python.org/packages/%s/s/setuptools/" |
Definition at line 18 of file ez_setup.py.
string ez_setup::DEFAULT_VERSION = "0.6c11" |
Definition at line 17 of file ez_setup.py.
dictionary ez_setup::md5_data |
Definition at line 20 of file ez_setup.py.