[ZCM] [ZC] 690/ 2 Comment "tweakable var/"
Collector: Zope Bugs, Features, and Patches ...
zope-coders-admin@zope.org
Thu, 13 Feb 2003 04:40:14 -0500
Issue #690 Update (Comment) "tweakable var/"
Status Pending, Zope/feature+solution low
To followup, visit:
http://collector.zope.org/Zope/690
==============================================================
= Comment - Entry #2 by leper on Feb 13, 2003 4:40 am
App.config API changes by fdrake for 2.7 have made this patch and feature request effectively moot. I'd reject it myself, but the collector isn't that flexible.
________________________________________
= Request - Entry #1 by leper on Nov 21, 2002 11:26 am
Hard coded paths bug me and for one reason or another I wanted to move my Data.fs elsewhere, I don't think this should cause problems, wfm anyway. In Globals.py
-data_dir = os.path.join(INSTANCE_HOME, 'var')
+data_dir = os.path.join(INSTANCE_HOME, os.environ.get('DATA_HOME', 'var'))
Now the DATA_HOME environment variable lets one shuffle stuff around.
==============================================================