I though that will not go online to get data.
On 4/5/06, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
qvx wrote:
>
> Today, when I was trying to deploy my 0.9a2 application to production
> server, I was unplesantly surprised that it tried to install all
> *latest* stuf from internet even though I said:
>
> D:\Incomming\Python\TurboGears>easy_install -U -f
> D:\Incomming\Python\TurboGears TurboGears
>
> I simply ignores -f and goes to web to see what latest is there to be
> found.
-U tells easy_install to search the net *even if* a local version is
available.
Meanwhile, -f gives a list of *additional* URLs to search; it does not
restrict easy_install from going to the net - especially if you use -U.
Thus, if you want easy_install to do a minimal search (no net access
unless a package isn't found locally at all), do *not* use -U, as the
whole point of -U is to *force* easy_install to search the net.
Finally, if you want to restrict easy_install from downloading *even
if* a package isn't available locally, use the --allow-hosts option to
restrict it to the desired hosts:
http://peak.telecommunity.com/DevCenter/EasyInstall#restricting-downloads-with-allow-hosts
http://peak.telecommunity.com/DevCenter/EasyInstall#installing-on-un-networked-machines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

