Ticket #257 (closed defect: worksforme)
easy_install buildbot fails on win32
| Reported by: | epu | Owned by: | zooko |
|---|---|---|---|
| Priority: | patches-accepted | Milestone: | 0.8.2 |
| Version: | 0.7.6 | Keywords: | windows |
| Cc: |
Description
When trying to use easy_install to get a win32 buildbot, easy_install reports that it failed to make eggs.
C:PerforceBranchesepurinsmainCodesourceIntegrationPython>c:Python25Scriptseasy_install.exe buildbot-0.7.7 Processing buildbot-0.7.7 Running setup.py -q bdist_egg --dist-dir C:PerforceBranchesepurinsmainCodesourceIntegrationPythonuildbot-0.7.7egg-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:PerforceBranchesepurinsmainCodesourceIntegrationPythonuildbot-0.7.7egg-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
comment:2 Changed 5 years ago 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:PerforceBranchesepurinsmainCodesourceIntegrationPython>c:Python25Scriptseasy_install.exe buildbot-0.7.7
or
C:PerforceBranchesepurinsmainCodesourceIntegrationPython>c:Python25Scriptseasy_install.exe
?
comment:3 Changed 5 years ago by epu
Yeah, it got line wrapped. It was
c:Python25Scriptseasy_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:Python25Scriptseasy_install.exe buildbot
or
c:Python25Scriptseasy_install.exe buildbot==0.7.7
comment:5 Changed 5 years ago 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
comment:6 Changed 5 years ago 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.
comment:7 Changed 5 years ago by epu
Yay! Thanks for the tips and fix. I <3 buildbot and crew. Looking forward to easy_install.
comment:8 Changed 4 years ago by dustin
- Status changed from assigned to closed
- Resolution set to fixed
- Milestone changed from undecided to 0.7.10
I think this got committed, right?
comment:9 Changed 3 years ago by nbolton
I'm unable to use easy_install buildbot with Python 2.4, 2.5 or 2.6 on Windows XP x86. Each attempt results in:
-- snip -- Best match: buildbot 0.8.0 -- snip -- No eggs found in c:docume~1 icklocals~1 empeasy_install-ryzhrmuildbot-0.8 .0egg-dist-tmp-u6s2hw (setup script problem?)
comment:10 Changed 3 years ago by dustin
- Status changed from closed to reopened
- Resolution fixed deleted
comment:11 Changed 3 years ago by dustin
- Keywords windows added
- Milestone changed from 0.7.10 to 0.8.1
I just verified that it does work for posix systems, which is good :)
The setup.py seems to be very careful to *avoid* using setuptools' setup(), and I don't understand exactly why that's the case.
I wonder what zooko's patch was? Why did he email it instead of attaching it?
Hopefully some folks from the WindowsProject can take a look at this
comment:12 Changed 3 years ago by dustin
- Status changed from reopened to closed
- Resolution set to worksforme
Looks like there's nothing to do here, so I'm closing this..
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
setuptools version: