Phillip J. Eby wrote:
> The normal way to use a setuptools egg you've already downloaded with
> ez_setup.py would be to just put the egg in the current directory.
> ez_setup.py detects when the requested version of the setuptools egg is
> present in the current directory, and will use it without downloading.
> In other words, you're trying too hard.  :)  Just put the setuptools
> egg in the current directory and run ez_setup.py.  DEFAULT_URL is used
> *only* to download the setuptools egg, and it has nothing whatsoever to
> do with -f/--find-links; it does not work in the same way at all.  -f
> is used for *finding* things without a known download URL, and the code
> that does that is in the setuptools egg; ez_setup.py doesn't have that
> code or all the other easy_install features built in, because then it
> would be as big as setuptools itself.  :)  It just *seems* to have
> those features because once setuptools is bootstrapped, it passes the
> command-line arguments on to easy_install.

Ok, that makes sense. I can see now that my problem was that
ez_setup.py could not find the setuptools egg and that easy_install was
not available. So a full install from local files without easy_install
already being available would go:

1)Ensure ez_setup.py and the setuptools egg are in the same directory
2) run python ez_setup.py -f <path_to_dl_directory> TurboGears

Should this be put in the installation instructions somewhere?

Reply via email to