Ticket #257 (assigned defect)

Opened 7 months ago

Last modified 4 months ago

easy_install buildbot fails on win32

Reported by: epu Assigned to: zooko (accepted)
Priority: trivial Milestone: undecided
Component: other Version: 0.7.6
Keywords: Cc:

Description

When trying to use easy_install to get a win32 buildbot, easy_install reports that it failed to make eggs.

C:\Perforce\Branches\epurins\main\Code\source\Integration\Python>c:\Python25\Scripts\easy_install.exe
buildbot-0.7.7
Processing buildbot-0.7.7
Running setup.py -q bdist_egg --dist-dir C:\Perforce\Branches\epurins\main\Code\source\Integration\Python\buildbot-0.7.7\egg-dist-tmp-_eobh0
zip_safe flag not set; analyzing archive contents...
buildbot.clients.debug: module references __file__
buildbot.scripts.runner: module references __file__
buildbot.status.web.baseweb: module references __file__
buildbot.test.runutils: module references __file__
buildbot.test.test_maildir: module references __file__
buildbot.test.test_mailparse: module references __file__
buildbot.test.test_shell: module references __file__
buildbot.test.test_slavecommand: module references __file__
No eggs found in C:\Perforce\Branches\epurins\main\Code\source\Integration\Python\buildbot-0.7.7\egg-dist-tmp-_eobh0 (setup script problem?)

This is using activestate python

ActivePython 2.5.1.1 (ActiveState Software Inc.) based on
Python 2.5.1 (r251:54863, May  1 2007, 17:47:05) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

setup.py install works ok.

Currently, the frontpage makes it seem like easy_install works out of the box, which is not accurate. It would be cool if this were directly added to a win32 wiki section with a workaround, or to get eggs building ok on win32.

Change History

04/28/08 15:23:04 changed by epu

setuptools version:

>>> import setuptools
>>> setuptools.__version__
'0.6c8'
>>>

05/01/08 13:35:02 changed by zooko

  • owner set to zooko.
  • status changed from new to assigned.

It looks like your cut and paste might have gotten line-wrapped. Was the command the you ran:

C:\Perforce\Branches\epurins\main\Code\source\Integration\Python>c:\Python25\Scripts\easy_install.exe buildbot-0.7.7

or

C:\Perforce\Branches\epurins\main\Code\source\Integration\Python>c:\Python25\Scripts\easy_install.exe

?

05/03/08 09:01:45 changed by epu

Yeah, it got line wrapped. It was

c:\Python25\Scripts\easy_install.exe buildbot-0.7.7

where buildbot-0.7.7 was a local folder of source files. (Was trying to narrow it down)

this occurs for me if I use the network too, ie:

c:\Python25\Scripts\easy_install.exe buildbot

or

c:\Python25\Scripts\easy_install.exe buildbot==0.7.7

05/09/08 10:19:15 changed by zooko

I can reproduce this problem here. I'll work on it.

06/13/08 00:36:13 changed by tarek

Make it an egg, and it will work (that's a one-liner change, by calling setuptools' setup function instead of distutils.core one in setup.py)

That's what we did to make easy_install work under windows :

http://release.ingeniweb.com/third-party-dist/buildbot-0.7.7-py2.4.egg

07/24/08 13:39:27 changed by zooko

I've mailed a patch to Brian Warner that does this. If he doesn't tell me not to after the imminent buildbot release I'll apply that patch to trunk.

07/24/08 20:14:07 changed by epu

Yay! Thanks for the tips and fix. I <3 buildbot and crew. Looking forward to easy_install.