[Erp5-report] r37367 vincent - in /erp5/trunk/buildout: README-2.12.txt README.txt
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jul 29 15:19:28 CEST 2010
Author: vincent
Date: Thu Jul 29 15:19:27 2010
New Revision: 37367
URL: http://svn.erp5.org?rev=37367&view=rev
Log:
bin/buildout must also be invoked with "python -S".
Note: this is an imperfect workaround for broken site packages.
A broken python install would not be avoided by this.
A better fix would be to include a python build in buildout bootstrap
process, so rest of processing becomes independent from site's python
installation.
Modified:
erp5/trunk/buildout/README-2.12.txt
erp5/trunk/buildout/README.txt
Modified: erp5/trunk/buildout/README-2.12.txt
URL: http://svn.erp5.org/erp5/trunk/buildout/README-2.12.txt?rev=37367&r1=37366&r2=37367&view=diff
==============================================================================
--- erp5/trunk/buildout/README-2.12.txt [utf8] (original)
+++ erp5/trunk/buildout/README-2.12.txt [utf8] Thu Jul 29 15:19:27 2010
@@ -38,7 +38,7 @@ Run the Zope 2.12 buildout:
$ cd ~/erp5.buildout
$ python2.6 -S bootstrap/bootstrap.py -v 1.4.3
- $ bin/buildout -v -c buildout-2.12.cfg
+ $ python2.6 -S bin/buildout -v -c buildout-2.12.cfg
This will download and install the software components needed to run ERP5 on
Zope 2.12 including Zope 2.12 plus dependencies (including
@@ -54,7 +54,7 @@ Each software component in this buildout
dependencies, including development libraries and executables.
To query what is required for all components, please run:
- $ bin/buildout install show-requirements
+ $ python2.6 -S bin/buildout install show-requirements
Minimal requirements
--------------------
@@ -120,7 +120,7 @@ parts =
supervisor-instance
^D
$ ~/erp5.buildout/bin/bootstrap2.6 # 4
-$ bin/buildout -ov # 5
+$ python2.6 -S bin/buildout -ov # 5
Notice how we managed to run buildout in "offline-mode" (-o). The software-home
configuration (along with the 'extends-cache' in the 'instance-profiles'
@@ -142,7 +142,7 @@ $ $EDITOR buildout.cfg
Then run buildout again to finish the configuration
-$ bin/buildout -ov # 8
+$ python2.6 -S bin/buildout -ov # 8
Now a fully configured development instance will be available in the directory
"var/development-instance", so you can do:
Modified: erp5/trunk/buildout/README.txt
URL: http://svn.erp5.org/erp5/trunk/buildout/README.txt?rev=37367&r1=37366&r2=37367&view=diff
==============================================================================
--- erp5/trunk/buildout/README.txt [utf8] (original)
+++ erp5/trunk/buildout/README.txt [utf8] Thu Jul 29 15:19:27 2010
@@ -108,11 +108,11 @@ parts =
software_home = /home/MYUSER/erp5.buildout
^D
$ ~/erp5.buildout/bin/python2.4 bootstrap/bootstrap.py -c my_instances.cfg
-$ bin/buildout -c my_instances.cfg
+$ python -S bin/buildout -c my_instances.cfg
$ var/bin/supervisord # it will start supervisor and configured software
$ $EDITOR my_instances.cfg
# add "runUnitTest" and "development-site" to parts
-$ bin/buildout -c my_instances.cfg
+$ python -S bin/buildout -c my_instances.cfg
Fully configured development instance will be available in var/development-site.
@@ -129,7 +129,7 @@ $ cd software
$ echo '[buildout]' >> buildout.cfg
$ echo 'extends = https://svn.erp5.org/repos/public/erp5/trunk/buildout/buildout.cfg' >> buildout.cfg
$ wget -qO - http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py | python -S -
-$ bin/buildout
+$ python -S bin/buildout
Note on -S: this switch is overridden by PYTHON_PATH environment variable. In
doubt, unset it before invoking that command.
More information about the Erp5-report
mailing list