[Silva-general] silva-2.2.1 -> silva-2.3

Marc Petitmermet petitmermet at mat.ethz.ch
Mon Feb 7 15:12:53 CET 2011


On Feb 7, 2011, at 12:30 , Antonin Amand wrote:

> 
> Hello Marc,
>> 
>> at what point and where do i tell buildout to use python-2.6 instead of 2.4? can i just change the shebang line in the buildout script? will this also automatically fix all hard-coded stuff in the scripts and eggs?
> 
> You're right the documentation does not mention that.
> You need to run the bootstrap with your python 2.6
> 
> python2.6 bootstrap.py
> 
> If you have a specific buildout profile (not buildout.cfg).
> 
> python2.6 bootstrap.py --buildout-profile path/to/profile.cfg
> 
> If you are using your own installation (you didn't checked out the buildout install from svn.infrae.com but your profile extends a silva profile), which is likely for an upgrade.
> Make sure you use the latest bootstrap.py. Remove the one that is already there and download this one :
> https://svn.infrae.com/buildout/silva/trunk/bootstrap.py

thanks antonin. that did more or less the trick. i had to change some things in my buildout.cfg and add the "templates" folder (deploy.ini: Input file '/path/to/silva/instance/templates/deploy.ini' does not exist.). then i needed to add some more development libraries, had to apply this patch (http://sourceforge.net/mailarchive/forum.php?thread_name=64F97707-DBA6-413C-9AC8-F77FB4727C6D%40gmail.com&forum_name=python-ldap-dev) to get python-ldap compiled, freeze python-ldap in buildout.cfg, etc. 

regards,
marc



More information about the silva-general mailing list