# HG changeset patch # User Laurent Peuch # Date 1549967899 -3600 # Node ID 37bfcaa1792d7c7bc6d718f90c841fed5d8d51f0 # Parent 5be7a80d0696f54c8f60b9f54e0a9584f3e4a080 [doc] new behavior in virtualenv since 3.26 diff -r 5be7a80d0696 -r 37bfcaa1792d 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