BigBrotherBot v1.6.1
System Development Information for the BigBrotherBot project.
Functions | Variables

ez_setup Namespace Reference

Functions

def _validate_md5
def use_setuptools
def download_setuptools
def main
def update_md5

Variables

string DEFAULT_VERSION = "0.6a8"
string DEFAULT_URL = "http://cheeseshop.python.org/packages/%s/s/setuptools/"
dictionary md5_data

Function Documentation

def ez_setup::_validate_md5 (   egg_name,
  data 
) [private]
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.
def ez_setup::main (   argv,
  version = DEFAULT_VERSION 
)
Install or upgrade setuptools and EasyInstall
def ez_setup::update_md5 (   filenames)
Update our built-in md5 registry
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.  

Variable Documentation

string ez_setup::DEFAULT_URL = "http://cheeseshop.python.org/packages/%s/s/setuptools/"
string ez_setup::DEFAULT_VERSION = "0.6a8"
dictionary ez_setup::md5_data
Initial value:
00001 {
00002     'setuptools-0.5a13-py2.3.egg': '85edcf0ef39bab66e130d3f38f578c86',
00003     'setuptools-0.5a13-py2.4.egg': 'ede4be600e3890e06d4ee5e0148e092a',
00004     'setuptools-0.6a1-py2.3.egg': 'ee819a13b924d9696b0d6ca6d1c5833d',
00005     'setuptools-0.6a1-py2.4.egg': '8256b5f1cd9e348ea6877b5ddd56257d',
00006     'setuptools-0.6a2-py2.3.egg': 'b98da449da411267c37a738f0ab625ba',
00007     'setuptools-0.6a2-py2.4.egg': 'be5b88bc30aed63fdefd2683be135c3b',
00008     'setuptools-0.6a3-py2.3.egg': 'ee0e325de78f23aab79d33106dc2a8c8',
00009     'setuptools-0.6a3-py2.4.egg': 'd95453d525a456d6c23e7a5eea89a063',
00010     'setuptools-0.6a4-py2.3.egg': 'e958cbed4623bbf47dd1f268b99d7784',
00011     'setuptools-0.6a4-py2.4.egg': '7f33c3ac2ef1296f0ab4fac1de4767d8',
00012     'setuptools-0.6a5-py2.3.egg': '748408389c49bcd2d84f6ae0b01695b1',
00013     'setuptools-0.6a5-py2.4.egg': '999bacde623f4284bfb3ea77941d2627',
00014     'setuptools-0.6a6-py2.3.egg': '7858139f06ed0600b0d9383f36aca24c',
00015     'setuptools-0.6a6-py2.4.egg': 'c10d20d29acebce0dc76219dc578d058',
00016     'setuptools-0.6a7-py2.3.egg': 'cfc4125ddb95c07f9500adc5d6abef6f',
00017     'setuptools-0.6a7-py2.4.egg': 'c6d62dab4461f71aed943caea89e6f20',
00018     'setuptools-0.6a8-py2.3.egg': '2f18eaaa3f544f5543ead4a68f3b2e1a',
00019     'setuptools-0.6a8-py2.4.egg': '799018f2894f14c9f8bcb2b34e69b391',
00020 }
 All Classes Namespaces Files Functions Variables Properties