Finding application data after install - a solution?
wentland at cl.uni-heidelberg.de
Fri Sep 25 11:53:18 CEST 2009
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 ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 852 bytes
Desc: Digital signature
More information about the Python-list