Further to my last email I've done some investigation:

The problem seems to be that on some systems the package index which
setuptools builds before it finds the distribtution to install does not
include all of the currently installed packages. As a result it goes
ahead and deletes + installs the same egg which already exists
regardless of whether this is strictly neccecary. 

So far I've not managed to work out why this happens... any suggestions?

Thanks  

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On
Behalf Of Salim, Fadhley (CALYON)
Sent: 26 March 2009 12:48
To: [email protected]
Subject: [Distutils] Why does setuptools sometimes delete and
thenre-install the exact same egg?

Searching for calyon==1.0-r2009-03-12
Best match: calyon 1.0-r2009-03-12
Processing calyon-1.0_r2009_03_12-py2.4-win32.egg
Removing
d:\devtools\python24\lib\site-packages\calyon-1.0_r2009_03_12-py2.4-win3
2.egg
Copying calyon-1.0_r2009_03_12-py2.4-win32.egg to
d:\devtools\python24\lib\site-packages

What causes this?

I've seen it happen a few times but I'm not sure how to re-produce the
behavior.

I'm trying to install an egg on a computer where an identical egg
already exists. Why does it remove the egg and then re-install it? I'm
calling easy_install from a script with the options:

['-vv', '-m', '-f', 'R:/OPTIONS/Stephen/python_eggs',
'calyon==1.0_r2009_03_12']

I'm using setuptools 0.6c9
This email does not create a legal relationship between any member of the 
Cr=E9dit 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 Comit=e9 des Etablissements de Cr=e9dit et des
Entreprises d'Investissement (CECEI) and supervised by the Commission Bancaire
in France and subject to limited regulation by the Financial Services Authority.
Details about the extent of our regulation by the Financial Services Authority
are available from us on request. 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.
This message and/or any  attachments is intended for the sole use of its 
addressee.
If you are not the addressee, please immediately notify the sender and then 
destroy the message.
As this message and/or any attachments may have been altered without our 
knowledge, its content is not legally binding on CALYON Crédit Agricole CIB.
All rights reserved.

Ce message et ses pièces jointes est destiné à l'usage exclusif de son 
destinataire.
Si vous recevez ce message par erreur, merci d'en aviser immédiatement 
l'expéditeur et de le détruire ensuite.
Le présent message pouvant être altéré à notre insu, CALYON Crédit Agricole CIB 
ne peut pas être engagé par son contenu.
Tous droits réservés.
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to