Commit 26069f75 authored by Łukasz Nowak's avatar Łukasz Nowak

- running python with -E does not help, so revert it

 - explain issues related to python environment in Troubleshooting section


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38056 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b1c4dbc3
......@@ -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
......
......@@ -165,6 +165,26 @@ The '127.0.0.1:10002' coordinate above refers to the address of the configured
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
====
......
......@@ -129,3 +129,23 @@ doubt, unset it before invoking that command.
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment