[Distutils] setuptools-0.6c5-py2.5.egg in cheeseshop seems to be broken

Phillip J. Eby pje at telecommunity.com
Sat Feb 3 23:52:02 CET 2007


At 05:18 PM 2/3/2007 -0500, Matt Good wrote:
>On Sat, 2007-02-03 at 17:09 -0400, Jorge Vargas wrote:
> > elpargo at notebook:~$ sh setuptools-0.6c5-py2.5.egg
> > setuptools-0.6c5-py2.5.egg: 8: [[: not found
> > setuptools-0.6c5-py2.5.egg is not the correct name for this egg file.
> > Please rename it back to setuptools-0.6c5-py2.5.egg and try again.
>
>There was a previous mention of this on the mailing list.  The Egg uses
>a bash-ism there, so "sh" doesn't quite work.  I don't remember if PJE
>was going to change that in SVN, but I believe you should be able to run
>the Egg with bash instead.

That's correct; 0.6c5 actually requires bash, but 0.6c6 uses '[' instead of 
'[[' and so in theory should work with a non-bash "sh".

If you're good with a binary editor, you could probably hack the header of 
the current .egg to work.  :)  Or at least, you could manually run the 
shell commands that are in it.



More information about the Distutils-SIG mailing list