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

c.buhtz at posteo.jp c.buhtz at posteo.jp
Sat Jul 11 02:01:56 CEST 2015


On 2015-07-10 09:39 Chris Warrick <kwpolska at 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.


More information about the Python-list mailing list