Hello,
on Buildout 2.2, I installed Buildbot who generate the script ./bin/buildbot:
-----------------------------------------------------------
#!/usr/bin/python
from buildbot.scripts import runner
runner.run()
import sys
sys.path[0:0] = [
'/srv/buildbot/eggs/buildbot-0.8.7p1-py2.7.egg',
'/srv/buildbot/eggs/buildbot_slave-0.8.7-py2.7.egg',
'/srv/buildbot/eggs/sact.buildbot.custom-0.3.0-py2.7.egg',
'/srv/buildbot/eggs/Fabric-1.6.1-py2.7.egg',
'/srv/buildbot/eggs/paramiko-1.10.1-py2.7.egg',
'/srv/buildbot/eggs/setuptools-0.8-py2.7.egg',
'/srv/buildbot/eggs/Twisted-13.0.0-py2.7-linux-x86_64.egg',
'/srv/buildbot/eggs/python_dateutil-1.5-py2.7.egg',
'/srv/buildbot/eggs/sqlalchemy_migrate-0.7.2-py2.7.egg',
'/srv/buildbot/eggs/SQLAlchemy-0.7.10-py2.7-linux-x86_64.egg',
'/srv/buildbot/eggs/Jinja2-2.7-py2.7.egg',
'/srv/buildbot/eggs/pycrypto-2.6-py2.7-linux-x86_64.egg',
'/srv/buildbot/eggs/zope.interface-4.0.5-py2.7-linux-x86_64.egg',
'/srv/buildbot/eggs/Tempita-0.5.1-py2.7.egg',
'/srv/buildbot/eggs/decorator-3.4.0-py2.7.egg',
'/srv/buildbot/eggs/MarkupSafe-0.18-py2.7-linux-x86_64.egg',
]
------------------------------------------------------------------
As you can see, the sys.path is after the import. Missed something or
I fill a bug?
--
Sebastien Douche <
sdo...@gmail.com>
Twitter: @sdouche / G+: +sdouche