[Distutils] setuptools weird install issue

Phillip J. Eby pje at telecommunity.com
Mon Jul 25 16:45:49 CEST 2005


At 10:34 PM 7/24/2005 -0500, Ian Bicking wrote:
>So, I just got an updated version of setuptools (running behind due to SF 
>anon CVS stupidness).  Now it's like setuptools isn't using itself...

Make sure that you get rid of your old setuptools.egg-info directory, 
because I just added one to CVS, and it *must* get checked out or 
setuptools won't run.

The issue is that setuptools now uses "entry points" to discover its own 
commands.  That means it has to have an entry_points.txt file in the 
.egg-info directory in order to run.  But, if you have a local, 
non-CVS-controlled copy of setuptools.egg-info (or you update  without 
using -d) CVS won't check out the entry_points.txt file.

Try:

     rm -rf setuptools.egg-info
     cvs upd -d

This should get you the entry_points.txt file, and it should work again.



More information about the Distutils-SIG mailing list