Finding application data after install - a solution?
Wolodja Wentland
wentland at cl.uni-heidelberg.de
Fri Sep 25 05:53:18 EDT 2009
On Fri, Sep 25, 2009 at 02:24 -0300, Gabriel Genellina wrote:
> En 2009年9月24日 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 852 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20090925/56111475/attachment-0001.sig>
More information about the Python-list
mailing list