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


Groups > comp.lang.python > #93659 > unrolled thread

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

Started by<c.buhtz@posteo.jp>
First post2015-07-11 02:01 +0200
Last post2015-07-11 02:01 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

From<c.buhtz@posteo.jp>
Date2015-07-11 02:01 +0200
SubjectRe: [setuptools] install data-file in users home-dir
Message-ID<mailman.407.1436572924.3674.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web