[Zope-dev] zope-tests - FAILED: 5, OK: 8
Marius Gedminas
marius at gedmin.as
Wed Jul 17 12:41:08 CEST 2013
On Tue, Jul 16, 2013 at 07:08:39PM -0400, Tres Seaver wrote:
> On 07/16/2013 06:53 AM, Marius Gedminas wrote:
> > Perhaps manually installing setuptools >= 0.7 into c:\python2*_64
> > would fix the failing builds?
Further evidence for this suggestion: winbot's c:/python26_32/python.exe has
>>> import setuptools
>>> setuptools.__file__
'....\\setuptools-0.7.1-...'
and works fine, while winbot's c:/python26_64/python.exe has
>>> import setuptools
>>> setuptools.__file__
'....\\distribute-0.6.44-...'
and doesn't.
> +1. Let's just get past the distribute / old setuptools mess and get on
> with our lives.
I'm somewhat ashamed to admit that I don't know how to do that.
Normally I get setuptools with sudo apt-get install python-setuptools,
or by creating a virtualenv.
IIRC there's some sort of ez_setup.py that you can run? Never mind, I
can read the fine manual: https://pypi.python.org/pypi/setuptools/0.9.5#windows
So, here's what I did:
- rdesktop'ed into winbot
- Control Panel -> Add/Remove Programs
- removed Python 2.6 setuptools 0.6c11 (it said it was already removed,
so I just OK'ed removing the add/remove programs item)
- removed Python 2.7 setuptools 0.6c11 (this time it said it removed 18
files and directories)
- left setuptools 0.6c11 installers for Python 2.4 and 2.5 alone
because meh
- launched Git bash
- cd /c/Python26_64/Lib/site-packages
- rm -rf setuptools* distribute*
- cd /tmp
- curl https://bitbucket.org/pypa/setuptools/downloads/ez_setup.py > ez_setup.py
- /c/Python26_64/python ez_setup.py
- cd /c/Python27_64/Lib/site-packages
- rm -rf setuptools* distribute*
- cd /tmp
- /c/Python27_64/python ez_setup.py
And now I'm wondering if those control panel installers were about
32-bit or 64-bit installs, and I wonder if I broke Python27_32 by
removing all traces of setuptools form there. Let's check:
$ /c/Python27_32/python
>>> import setuptools
>>> setuptools.__file__
'....\\distribute-0.6.44-...'
Huh? And no builds failed on py_270_win32? I don't understand, and I
don't _want_ to understand. Let's just see what buildbots report
tomorrow.
Marius Gedminas
--
http://pov.lt/ -- Zope 3/BlueBream consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://mail.zope.org/pipermail/zope-dev/attachments/20130717/c7e2d3a5/attachment.sig>
More information about the Zope-Dev
mailing list