[Distutils] Question about finding downloads (with distutils.cfg)
fadhley.salim at uk.calyon.com
Fri Aug 22 18:33:45 CEST 2008
I have a distutils.cfg file which looks something like this:
All of the five sources contain the exact same collection of files.
Most users who can access the european web-servers cannot access the
American UNC paths and vice-versa.
That usually works out well, because the sources a user cannot access
will quickly time-out and the user will get the egg they need from a
source they can access.
The problem comes with users who can access both the web-servers *and*
the UNC paths easy_install. For example a mobile, "international" user
might have access to everything but with a slow connection.
Even if the egg needed can be found on any one of the hosts the
remaining two (the UNC paths) will always be checked by setuptools. This
makes setuptools run very slow indeed:
I have found that easy_install is needlessly checking all five sources
even if checking only one would be good enough.
Is there a way to make setuptools stop searching as soon as it's found
the first source which contains the required egg?
PS. I'm using setuptools-0.6c8-py2.4.egg
-------------- next part --------------
This email does not create a legal relationship between any member of the
Cr?dit Agricole group and the recipient or constitute investment advice.
The content of this email should not be copied or disclosed (in whole or
part) to any other person. It may contain information which is
confidential, privileged or otherwise protected from disclosure. If you
are not the intended recipient, you should notify us and delete it from
your system. Emails may be monitored, are not secure and may be amended,
destroyed or contain viruses and in communicating with us such conditions
are accepted. Any content which does not relate to business matters is not
endorsed by us.
Calyon is authorised by the Commission Bancaire in France and regulated by
the Financial Services Authority for the conduct of business in the
United Kingdom. Calyon is incorporated in France with limited liability
and registered in England & Wales. Registration number: FC008194.
Registered office: Broadwalk House, 5 Appold Street, London, EC2A 2DA.
More information about the Distutils-SIG