[Buildbot-devel] virtualenv on windows issue
Itamar O
itamarost at gmail.com
Sat Apr 10 16:44:31 UTC 2010
Hi,
I might have done something wrong during installation,
so I want to check this with the list before opening a ticket.
I installed buildbot 0.7.12 under a virtualenv (located at C:\var\trac).
The installation reported to complete successfully,
and a buildbot.bat file was created in Scripts dir.
When running 'buildbot --version' I got:
(trac) C:\var\trac>buildbot --version
'"C:\var\trac\Scripts\..\python"' is not recognized as an internal or
external command,
operable program or batch file.
So I checked the content of the buildbot.bat file, which was:
@"%~dp0..\python" "%~dp0buildbot" %*
But in my virtualenv, the python binary is also under Scripts, and not one
level above,
so changing the buildbot.bat file to:
@"%~dp0.\python" "%~dp0buildbot" %* (note one less '.')
solved the issue.
Have I done something wrong?
Environment info:
Windows Server 2003, Python 2.6.4, Twisted 10.0.0, Zope Interface 3.5.3,
virtualenv 1.4.5.
Twisted installed system-wide.
Zope Interface & Buildbot installed with 'pip install path/to/tarball' from
activated virtualenv.
Thanks,
Itamar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20100410/a89baf43/attachment.html>
More information about the devel
mailing list