[Buildbot-commits] [SPAM] Re: [Buildbot] #253: buildbot.tac is not relocatable because it remembers its basedir

Buildbot buildbot-devel at lists.sourceforge.net
Wed Mar 10 18:09:51 UTC 2010


#253: buildbot.tac is not relocatable because it remembers its basedir
------------------------+---------------------------------------------------
Reporter:  zooko        |        Owner:          
    Type:  enhancement  |       Status:  reopened
Priority:  major        |    Milestone:  0.8.0   
 Version:  0.7.6        |   Resolution:          
Keywords:               |  
------------------------+---------------------------------------------------

Comment(by dalore):

 warner, python does provide {{{__file__}}}

 Here is some sample code I put into my buildout.tac to make it
 relocatable:
 {{{
 import os.path
 basedir = os.path.abspath(os.path.dirname(__file__))
 }}}

 I tried renaming the slave directory and it worked.

-- 
Ticket URL: <http://buildbot.net/trac/ticket/253#comment:5>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list