On Fri, Sep 25, 2009 at 02:24 -0300, Gabriel Genellina wrote: > En Thu, 24 Sep 2009 08:21:59 -0300, Wolodja Wentland > >How do *you* deal with application data in your programs? Is there a way > >that works on as many platforms as possible?
> On linux, using a configuration file like /etc/fooapplication.conf > On Windows, using a registry key under > HKEY_LOCAL_MACHINE\Software\My Bussiness Name\Foo Application. > In either place, there is an entry pointing to the actual directory > where data is stored. How do you you *install* this file within /etc ? Do users have to copy it themselves into /etc from DATA_DIR/foo/etc/fooapplication.conf.sample ? > I never had the problem you want to solve, probably I'm just lucky > (or perhaps my users are "geek" enough to know how to edit a config > file, or dumb enough to never change the system settings...) I am just trying to support all installation schemes supported by distutils. That's all ;-) so long Wolodja
signature.asc
Description: Digital signature
-- http://mail.python.org/mailman/listinfo/python-list