Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #93659

Re: [setuptools] install data-file in users home-dir

Date 2015-07-11 02:01 +0200
From <c.buhtz@posteo.jp>
Subject Re: [setuptools] install data-file in users home-dir
References <3mSGXb0tfQzFpW3@dovecot04.posteo.de> <CAMw+j7+hUvj0-T4AoqG4X2RB6XUP4U0Unf=q2M8wT1_BEWKiZA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.407.1436572924.3674.python-list@python.org> (permalink)

Show all headers | View raw


On 2015-07-10 09:39 Chris Warrick <kwpolska@gmail.com> wrote:
> And you should not create the files in your install script.  Instead,
> install them to a different data dir (somewhere in 'share/appname', or
> alongside your package). When someone runs your app, only then you
> should copy this file to user’s config directory

I have to check if there still is a user config file.
When doing this with the app itself, the check would be done while each
start - what is quite unnecessary.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: [setuptools] install data-file in users home-dir <c.buhtz@posteo.jp> - 2015-07-11 02:01 +0200

csiph-web