# HG changeset patch # User Laurent Peuch # Date 1549967899 -3600 # Node ID af93bf9723b4a627d149ad42caf2bb16213c742e # Parent 4443ae7c9a2d8d528f080f9152abc32456ec1221 [doc] new behavior in virtualenv since 3.26 diff -r 4443ae7c9a2d -r af93bf9723b4 cubicweb/cwconfig.py --- a/cubicweb/cwconfig.py Tue Jan 29 14:04:28 2019 +0100 +++ b/cubicweb/cwconfig.py Tue Feb 12 11:38:19 2019 +0100 @@ -49,12 +49,9 @@ Within virtual environment `````````````````````````` -If you are not administrator of you machine or if you need to play with some -specific version of |cubicweb| you can use virtualenv_ a tool to create -isolated Python environments. - -- instances are stored in :file:`/etc/cubicweb.d` -- temporary files (such as pid file) in :file:`/var/run/cubicweb` +When installed within a virtualenv, CubicWeb will look for instances data as in +user mode by default, that is in $HOME/etc/cubicweb.d. However the +CW_INSTANCES_DIR environment variable should be preferably used. .. _virtualenv: http://pypi.python.org/pypi/virtualenv