]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
setup: make ez_setup.py work to upgrade setuptools even if there is already a setupto...
authorZooko O'Whielacronx <zooko@zooko.com>
Sat, 13 Oct 2007 05:59:37 +0000 (22:59 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Sat, 13 Oct 2007 05:59:37 +0000 (22:59 -0700)
commitc9653af82a10bc47f480793708d9d3df3fcbf3e4
tree007329588ed06d30c8151d5c05aa982bc52e00f2
parentaba57d9a4c65cbafbd762dd3687f2a7e9d4bc87b
setup: make ez_setup.py work to upgrade setuptools even if there is already a setuptools installed which is too old

This works only if setup.py is invoked as "./setup.py install" (or
"python ./setup.py install" or whatever).  It doesn't work if it is invoked by
easy_install.  On the other hand, I don't know why easy_install would execute
ez_setup.py anyway -- I thought that it didn't execute the setup.py scripts.
See this mailing list thread for details:

http://mail.python.org/pipermail/distutils-sig/2007-October/008339.html
ez_setup.py