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
En Fri, 25 Sep 2009 06:53:18 -0300, Wolodja Wentland
wentl...@cl.uni-heidelberg.de escribió:
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
?
Nothing fancy here:
setup(data_files=[
En Tue, 22 Sep 2009 13:47:09 -0300, Wolodja Wentland
wentl...@cl.uni-heidelberg.de escribió:
On Tue, Sep 22, 2009 at 07:42 -0700, Aahz wrote:
I want to:
1. Give administrators the freedom to install the data wherever
they
want
2. Adhere to the FHS (installing data within
On Thu, Sep 24, 2009 at 04:07 -0300, Gabriel Genellina wrote:
I do not intentionally focus on UNIX type systems, but I have grown up
with *nix and I rather follow one scheme than none at all. But the
proposed way works on Windows as well, although the users might find
previously unseen
Wolodja Wentland wrote:
I think many Windows users would say WTF!? when seeing those
directories - and send cordial greetings to you, your parents and
your whole family :)
That is probably true, but Windows has a 'etc' directory
(c:\windows\system32\drivers\etc) which AFAIK contains the hosts
On Thu, Sep 24, 2009 at 12:51 +0100, Tim Golden wrote:
Wolodja Wentland wrote:
Is CSIDL_COMMON_APPDATA and environment variable set on all Windows
flavours?
Certainly all those which Python currently supports. There are
some small subtleties which have changed between older and
newer
Wolodja Wentland wrote:
On Thu, Sep 24, 2009 at 12:51 +0100, Tim Golden wrote:
Wolodja Wentland wrote:
Is CSIDL_COMMON_APPDATA and environment variable set on all Windows
flavours?
Just to clarify, now that I read your post more carefully,
there *is* an environment variable APPDATA which is
En Thu, 24 Sep 2009 08:21:59 -0300, Wolodja Wentland
wentl...@cl.uni-heidelberg.de escribió:
You should probably raise this issue at the distutils-sig mailing
list: http://www.python.org/community/sigs/current/distutils-sig/
I already did [1] but the distutils developers are quite busy
In article mailman.232.1253597842.2807.python-l...@python.org,
Wolodja Wentland wentl...@cl.uni-heidelberg.de wrote:
I want to:
1. Give administrators the freedom to install the data wherever they
want
2. Adhere to the FHS (installing data within modules breaks it)
3. Be able
On Tue, Sep 22, 2009 at 07:42 -0700, Aahz wrote:
I want to:
1. Give administrators the freedom to install the data wherever they
want
2. Adhere to the FHS (installing data within modules breaks it)
3. Be able to find that data again regardless of the installation
En Sat, 19 Sep 2009 12:03:52 -0300, Wolodja Wentland
wentl...@cl.uni-heidelberg.de escribió:
reliably finding distribution data from your program seems to be an
unsolved issue for programs packaged with distutils.
I have seen a lot of code that manipulates mod.__file__ to solve this
problem,
On Mon, Sep 21, 2009 at 23:52 -0300, Gabriel Genellina wrote:
En Sat, 19 Sep 2009 12:03:52 -0300, Wolodja Wentland
wentl...@cl.uni-heidelberg.de escribió:
reliably finding distribution data from your program seems to be an
unsolved issue for programs packaged with distutils.
[...]
Isn't
Hi all,
reliably finding distribution data from your program seems to be an
unsolved issue for programs packaged with distutils.
I have seen a lot of code that manipulates mod.__file__ to solve this
problem, but this *will* break for some installation schemes and has the
following problems:
*
13 matches
Mail list logo