Just wanted to drop a quick note on a couple of things about installing
turbogears.
Using the ez_install script at home worked really well. No problems
whatsoever, good job guys.
Installing at work was a little more tricky. We have a proxy at work
and a quick glance at urllib2 showed I had a bit to learn to get around
that for a download, so I tried installing from local files.
Downloaded the eggs from turbogears.org/download/ (had to get
setuptools from the cheeseshop as the download page had a development
version)
Modify ez_setup.py so that DEFAULT_URL pointed to
"file:C:/path/to/download/directory/"
Run ez_setup.py like normal using -f c:/path/to/download/directory/
Why the need to specify this location in two different places? I am
assuming that the -f argument indicates the file source, if so why does
the system seem to use DEFAULT_URL exclusively?
My obvious suggestion would be to allow file-based installs from the
command line. Maybe hijack the -f modifier since it (apparently) isn't
doing anything? Here is a code patch that I think should do the trick:
DEFAULT_URL = ''
args = sys.argv[1:]
for i in range(len(args)):
if(args[i] == '-f'):
DEFAULT_URL = args[i+1]
Then the install instructions could say "If you want to install from
local files use:
'file:<download_directory>' instead of
'http://turbogears.org/download/'