[Erp5-report] r38056 luke - in /erp5/trunk/buildout: Makefile README-2.12.txt README.txt
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Aug 30 05:04:02 CEST 2010
Author: luke
Date: Mon Aug 30 05:04:00 2010
New Revision: 38056
URL: http://svn.erp5.org?rev=38056&view=rev
Log:
- running python with -E does not help, so revert it
- explain issues related to python environment in Troubleshooting section
Modified:
erp5/trunk/buildout/Makefile
erp5/trunk/buildout/README-2.12.txt
erp5/trunk/buildout/README.txt
Modified: erp5/trunk/buildout/Makefile
URL: http://svn.erp5.org/erp5/trunk/buildout/Makefile?rev=38056&r1=38055&r2=38056&view=diff
==============================================================================
--- erp5/trunk/buildout/Makefile [utf8] (original)
+++ erp5/trunk/buildout/Makefile [utf8] Mon Aug 30 05:04:00 2010
@@ -13,10 +13,10 @@ PACKAGE_APPLICATION_RELEASE=001
endif
software: bin/buildout
- $(PYTHON) -SE bin/buildout $(BUILDOUT_OPT)
+ $(PYTHON) -S bin/buildout $(BUILDOUT_OPT)
bin/buildout:
- $(PYTHON) -SE bootstrap/bootstrap.py -d
+ $(PYTHON) -S bootstrap/bootstrap.py -d
# run make assert to check that all is working
assert: bin/python2.4
Modified: erp5/trunk/buildout/README-2.12.txt
URL: http://svn.erp5.org/erp5/trunk/buildout/README-2.12.txt?rev=38056&r1=38055&r2=38056&view=diff
==============================================================================
--- erp5/trunk/buildout/README-2.12.txt [utf8] (original)
+++ erp5/trunk/buildout/README-2.12.txt [utf8] Mon Aug 30 05:04:00 2010
@@ -165,6 +165,26 @@ The '127.0.0.1:10002' coordinate above r
mysql instance, according to the settings 'configuration:mysql_host' and
'configuration:mysql_port' in 'instance-profiles/mysql.cfg'.
+Troubleshooting
+===============
+
+In various Linux distributions python is heavily patched and user related
+environment variables are set system wide. This affects behaviour of python
+and introduces various problem with running buildout.
+
+In case of such issues consider resetting some python environment variables
+before running buildout:
+
+ * PYTHONPATH
+ * PYTHONSTARTUP
+ * PYTHONDONTWRITEBYTECODE
+
+Example:
+
+$ unset PYTHONPATH PYTHONSTARTUP PYTHONDONTWRITEBYTECODE
+$ make
+$ # other buildout related commands
+
TODO
====
Modified: erp5/trunk/buildout/README.txt
URL: http://svn.erp5.org/erp5/trunk/buildout/README.txt?rev=38056&r1=38055&r2=38056&view=diff
==============================================================================
--- erp5/trunk/buildout/README.txt [utf8] (original)
+++ erp5/trunk/buildout/README.txt [utf8] Mon Aug 30 05:04:00 2010
@@ -129,3 +129,23 @@ doubt, unset it before invoking that com
After some time everything shall be locally available.
Disclaimer: That way is still in early stage of development.
+
+Troubleshooting
+===============
+
+In various Linux distributions python is heavily patched and user related
+environment variables are set system wide. This affects behaviour of python
+and introduces various problem with running buildout.
+
+In case of such issues consider resetting some python environment variables
+before running buildout:
+
+ * PYTHONPATH
+ * PYTHONSTARTUP
+ * PYTHONDONTWRITEBYTECODE
+
+Example:
+
+$ unset PYTHONPATH PYTHONSTARTUP PYTHONDONTWRITEBYTECODE
+$ make
+$ # other buildout related commands
More information about the Erp5-report
mailing list